Description
When logging with AXIS2_LOG_USER() the logging implementation is called with level AXIS2_LOG_LEVEL_DEBUG.
So the logging implementation can not filter those messages.
The problem lies in axutil_log_impl_log_user() which calls the write() operation with AXIS2_LOG_LEVEL_DEBUG instead of AXIS2_LOG_LEVEL_USER.
AXIS2_EXTERN void AXIS2_CALL
axutil_log_impl_log_user(
axutil_log_t *log,
const axis2_char_t *file,
const int line,
const axis2_char_t *format,
...)
{
if(log && log->ops && log->ops->write && format && log->enabled)
{
if(AXIS2_LOG_LEVEL_DEBUG <= log->level)
}
#ifndef AXIS2_NO_LOG_FILE
else
fprintf(stderr, "please check your log and buffer");
#endif
}
Attachments
Issue Links
- is related to
-
AXIS2C-121 Log implementation does not go through ops
- Resolved