
28 Apr
2008
28 Apr
'08
1:46 a.m.
Hello: 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?