You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Rene Guenther <re...@innflow.com> on 2009/03/30 23:18:48 UTC
log4j keeps on logging all message types
Hello,
I set up my log4j.properties so it only logs error and sometimes warnings. I
know for sure because if I search in log4j.properties for DEBUG or INFO the
editor doesnt find anything. And I am sure that this file is used because it
sends me error messages to the adress specified in that log4j.properties
file.
Eg. one setting is:
log4j.logger.javax.faces=ERROR
And in my log file I find:
DEBUG http-80-Processor23 javax.faces.webapp.UIComponentTag - Entered
encodeBegin for client-Id: welcome2
Anyone can give me hint how to solve that problem?
Every request produces 10KB of logged information :-(
Cheers
René
--
View this message in context: http://www.nabble.com/log4j-keeps-on-logging-all-message-types-tp22793111p22793111.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: log4j keeps on logging all message types
Posted by Rene Guenther <re...@innflow.com>.
Argh! :rules:
Thanks for the hint!
Rene
Jacob Kjome wrote:
>
>
> There is no such Level as "WARNING". Try...
>
> log4j.category.net.sf.acegisecurity=WARN
>
>
> Jake
>
--
View this message in context: http://www.nabble.com/log4j-keeps-on-logging-all-message-types-tp22793111p22808479.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: log4j keeps on logging all message types
Posted by Jacob Kjome <ho...@visi.com>.
There is no such Level as "WARNING". Try...
log4j.category.net.sf.acegisecurity=WARN
Jake
On Mon, 30 Mar 2009 15:17:08 -0700 (PDT)
Rene Guenther <re...@innflow.com> wrote:
>
> Its really strange. I would like to know whats going on.
>
> 1. I remove those files related to hibernate:
>
> log4j.logger.org.hibernate.ps.PreparedStatementCache=ERROR
> log4j.logger.org.hibernate=ERROR
> log4j.logger.org.hibernate.SQL=WARNING
> log4j.logger.org.hibernate.type=ERROR
>
> And I got rid of DEBUG messages related to Hibernate AND MyFaces (eg.
> javax.faces).
>
> 2. I add
> log4j.category.net.sf.acegisecurity=DEBUG
>
> and receive all those acegisecurity related messages.
>
> 3. I change to
> log4j.category.net.sf.acegisecurity=WARNING
>
> but still DEBUG messages related to acegisecurity are logged.
>
> So obviously the only thing I can do for the moment is to delete all 3rd
> party related log4j settings :-((
>
> I made better experience with log4j before but right now this software is
> just producing random results for me :confused:
>
> Rene
> --
> View this message in context:
>http://www.nabble.com/log4j-keeps-on-logging-all-message-types-tp22793111p22794298.html
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: log4j keeps on logging all message types
Posted by Rene Guenther <re...@innflow.com>.
Its really strange. I would like to know whats going on.
1. I remove those files related to hibernate:
log4j.logger.org.hibernate.ps.PreparedStatementCache=ERROR
log4j.logger.org.hibernate=ERROR
log4j.logger.org.hibernate.SQL=WARNING
log4j.logger.org.hibernate.type=ERROR
And I got rid of DEBUG messages related to Hibernate AND MyFaces (eg.
javax.faces).
2. I add
log4j.category.net.sf.acegisecurity=DEBUG
and receive all those acegisecurity related messages.
3. I change to
log4j.category.net.sf.acegisecurity=WARNING
but still DEBUG messages related to acegisecurity are logged.
So obviously the only thing I can do for the moment is to delete all 3rd
party related log4j settings :-((
I made better experience with log4j before but right now this software is
just producing random results for me :confused:
Rene
--
View this message in context: http://www.nabble.com/log4j-keeps-on-logging-all-message-types-tp22793111p22794298.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org