MXS-2005: Remove unused code

Removed skygw_utils and relate files along with the old log manager
code. Also removed file flushing due to it being redundant; messages are
written to the file immediately. Adjusted tests to accommodate this
change.
This commit is contained in:
Markus Mäkelä
2018-08-11 11:11:04 +03:00
parent fd5a2305e4
commit 39ce6c624f
13 changed files with 104 additions and 4119 deletions

View File

@ -411,8 +411,6 @@ sigfatal_handler(int i)
mxb::dump_stacktrace(cb);
mxs_log_flush_sync();
/* re-raise signal to enforce core dump */
fprintf(stderr, "\n\nWriting core dump\n");
signal_set(i, SIG_DFL);
@ -2111,14 +2109,6 @@ int main(int argc, char **argv)
goto return_main;
}
if (!mxs_log_start_flush_thr())
{
const char* logerr = "Failed to start log flushing thread.";
print_log_n_stderr(true, true, logerr, logerr, 0);
rc = MAXSCALE_INTERNALERROR;
goto return_main;
}
/*<
* Start the routing workers running in their own thread.
*/
@ -2206,8 +2196,6 @@ int main(int argc, char **argv)
Worker::finish();
MessageQueue::finish();
mxs_log_stop_flush_thr();
/*< Call finish on all modules. */
modules_process_finish();