[logback-user] Turn off the verbose message from logback

prpaudel prpaudel at veriskhealth.com
Mon Sep 14 10:19:09 CEST 2009


I provide a default configuration programatically but still allows client to
change some settings for configuration like root folder to generate logs and
Log Level for application.


Ceki Gulcu wrote:
> 
> Hello,
> 
> Why do you need to declare <property> elements  in logback.xml that you
> are not 
> going to use, or are not defining properly? Why not just remove the
> <property> 
> elements from logback.xml?
> 
> prpaudel wrote:
>> Hello:
>> 
>> Since, I was configuring my log programatically I don't want to set any
>> values for those two properties on logback.xml and Logback was complaning
>> about it. But, I found a simple trick to stop complaning by putting a
>> single
>> white space as value for both of them.
>> 
>> Thanks.
>> 
> 
> -- 
> Ceki Gülcü
> Logback: The reliable, generic, fast and flexible logging framework for
> Java.
> http://logback.qos.ch
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
> 
> 

-- 
View this message in context: http://www.nabble.com/Turn-off-the-verbose-message-from-logback-tp25361264p25432056.html
Sent from the Logback User mailing list archive at Nabble.com.



More information about the Logback-user mailing list