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

@ -19,8 +19,8 @@
#include <stdlib.h>
#include <string.h>
#include <maxscale/alloc.h>
#include "../internal/skygw_utils.h"
#include <maxscale/log_manager.h>
#include <maxscale/debug.h>
static void skygw_log_enable(int priority)
{
@ -35,13 +35,8 @@ static void skygw_log_disable(int priority)
int main(int argc, char* argv[])
{
int err = 0;
const char* logstr;
int i;
const char* logstr;
bool succp;
skygw_message_t* mes;
simple_mutex_t* mtx;
size_t nactive;
time_t t;
struct tm tm;
char c;