Log: skygw_log_flush replaced with mxs_log_flush.

skygw_log_flush replaced with mxs_log_flush and skygw_log_sync_all
with mxs_log_flush_sync.
This commit is contained in:
Johan Wikman
2015-11-12 11:10:26 +02:00
parent c7a329e43e
commit 05fbdb1b76
16 changed files with 111 additions and 115 deletions

View File

@ -127,7 +127,7 @@ int main(int argc, char **argv) {
LOGIF(LE, (skygw_log_write_flush(LOGFILE_ERROR,
"Error: Memory allocation FAILED for ROUTER_INSTANCE")));
skygw_log_sync_all();
mxs_log_flush_sync();
mxs_log_finish();
return 1;
@ -578,7 +578,7 @@ int main(int argc, char **argv) {
return 1;
}
skygw_log_sync_all();
mxs_log_flush_sync();
mxs_log_finish();
free(inst);