You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mladen Turk <mt...@mappingsoft.com> on 2002/07/08 14:30:35 UTC

Jk2 logging

Hi,

Recently there was a question on the Users List about log messages in
the Apache's error.log.
I've changed the INFO logging to get logged as notice instead of warning
(cause it may be misleading as the user reported).
Now, I propose to change the every occurrence of the following:

if( ch->mbean->debug > 0 )
	env->l->jkLog(env, env->l, JK_LOG_INFO, 
to the :
if( ch->mbean->debug > 0 )
	env->l->jkLog(env, env->l, JK_LOG_DEBUG, 

There are lots of places in the code where the second is used, but we
should be consistent across the entire source code.
I'll make the necessary commits, as soon I finish the macro.

MT.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Jk2 logging

Posted by co...@covalent.net.
On Mon, 8 Jul 2002, Mladen Turk wrote:

> Hi,
> 
> Recently there was a question on the Users List about log messages in
> the Apache's error.log.
> I've changed the INFO logging to get logged as notice instead of warning
> (cause it may be misleading as the user reported).
> Now, I propose to change the every occurrence of the following:
> 
> if( ch->mbean->debug > 0 )
> 	env->l->jkLog(env, env->l, JK_LOG_INFO, 
> to the :
> if( ch->mbean->debug > 0 )
> 	env->l->jkLog(env, env->l, JK_LOG_DEBUG, 
> 
> There are lots of places in the code where the second is used, but we
> should be consistent across the entire source code.
> I'll make the necessary commits, as soon I finish the macro.

+1

Just make sure the 'important' messages ( and errors ) are visible
in error.log, using the default Apache level.

The log has 2 filters - one is the jkLog level, and the second
is the global LogLevel in httpd.conf ( or whatever win32 uses for
the Event log ).

Costin  


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>