1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +03:00

Logging to syslog instead of cout/printf

This commit is contained in:
Ben Thompson
2019-02-14 10:50:22 -06:00
parent 17aba1a272
commit 83a6e77278
14 changed files with 59 additions and 53 deletions

View File

@@ -38,7 +38,7 @@ bool TruncateTask::run()
truncate_cmd *cmd = (truncate_cmd *) buf;
#ifdef SM_TRACE
cout << "truncate " << cmd->filename << " newlength " << cmd->length << endl;
syslog(LOG_DEBUG, "truncate %s newlength %i.",cmd->filename,cmd->length);
#endif
int err = ioc->truncate(cmd->filename, cmd->length);