MXS-2801: Log INFO messages when session_trace is on
Since the session trace should contain all messages, the log priority check should always return true when session_trace is on.
This commit is contained in:
parent
1092203779
commit
2c2363c639
@ -165,7 +165,8 @@ bool mxb_log_get_session_trace();
|
||||
static inline bool mxb_log_is_priority_enabled(int priority)
|
||||
{
|
||||
assert((priority & ~LOG_PRIMASK) == 0);
|
||||
return ((mxb_log_enabled_priorities & (1 << priority)) != 0) || (priority == LOG_ALERT);
|
||||
return ((mxb_log_enabled_priorities & (1 << priority)) != 0) || (priority == LOG_ALERT)
|
||||
|| mxb_log_get_session_trace();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user