MXS-3057: Fix session_trace
The log priority check must not check session trace as it is used inside the logging code.
This commit is contained in:
		@ -165,8 +165,7 @@ bool mxb_log_get_session_trace();
 | 
				
			|||||||
static inline bool mxb_log_is_priority_enabled(int priority)
 | 
					static inline bool mxb_log_is_priority_enabled(int priority)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    assert((priority & ~LOG_PRIMASK) == 0);
 | 
					    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();
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user