Remove all traces of logfile_t
The earlier log file based approach for enabling and disabling messages has now been completely replaced with the syslog priority based approach. Similarly as with log files before it is now possible to enable and disable a log priority for a particular session, even though it apparently has not been used much. The local test-programs of the logging has got minimal attention only to make them compile. They should get an overhaul as they did not work before either.
This commit is contained in:
@ -2601,7 +2601,7 @@ route_session_write(
|
||||
{
|
||||
subsvc = router_cli_ses->subservice[i];
|
||||
|
||||
if(LOG_IS_ENABLED(LOGFILE_TRACE))
|
||||
if (MXS_LOG_PRIORITY_IS_ENABLED(LOG_INFO))
|
||||
{
|
||||
MXS_INFO("Route query to %s%s%s",
|
||||
i == 0 ? ">":"",
|
||||
@ -2654,7 +2654,7 @@ route_session_write(
|
||||
{
|
||||
sescmd_cursor_t* scur;
|
||||
|
||||
if(LOG_IS_ENABLED(LOGFILE_TRACE))
|
||||
if (MXS_LOG_PRIORITY_IS_ENABLED(LOG_INFO))
|
||||
{
|
||||
MXS_INFO("Route query to %s%s%s",
|
||||
i == 0 ? ">":"",
|
||||
|
Reference in New Issue
Block a user