If log manager not inited messages are written to stdout.

If the log manager has not been inited, then messages are written
to stdout. In practice this can happen if something is directly or
indirectly logged during the startup of maxscale, before
skygw_logmanager_init() has been called. Some refactoring is needed
to allow skygw_logmanager_init() to be called very early at program
startup.
This commit is contained in:
Johan Wikman
2015-11-09 10:57:20 +02:00
parent 49866b5959
commit abea233a2e
2 changed files with 5 additions and 10 deletions

View File

@ -183,8 +183,6 @@ int skygw_log_get_augmentation();
EXTERN_C_BLOCK_END
const char* get_logpath_default(void);
/**
* Helper, not to be called directly.
*/