[logback-user] specify absolute path for logback.xml

dvd at newfoundmarket.com dvd at newfoundmarket.com
Mon Apr 28 03:46:03 CEST 2008

I saw the thread discussing using system property to
specify file path for logback.xml instead of solely use class path.
I have the same issue too (surprised, actually). It is quite common
to have config file separate from the war file so that support
person(and developer)
 could adjust it for quick debugging. often it takes
far more steps to rebuild/package the war file just to change 
the logging options. Perhaps a middle ground would be
only have a single system property to specify the absolute path
and leave the rest to application itself?  Or allow a path parameter
to be passed in getLogger() method and leave it to app to fingure out 
how to get the path?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20080427/52943aa5/attachment.htm 

More information about the Logback-user mailing list