logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas E Wegscheid <Douglas_E_Wegsch...@whirlpool.com>
Subject Re: class specific logging level
Date Fri, 08 Jun 2012 15:59:54 GMT
> I want MyClass logs of DEBUG level and all other classes of ERROR in
> "log1.log" file as mentioned in logger "Log1". 
> ...
> whereas if I set the level in appender
> "Log1" to DEBUG, I do get the DEBUG logs of Myclass in log1.log.

If you set the level of the Log1 appender to DEBUG, you say that you get 
the DEBUG logs of Myclass in log1.log. Isn't that what you want?
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message