Re: Preventing FileAppender from opening file until there is something to log

2011-06-23 Thread Mikhail T.
On 23.06.2011 16:58, Dylan Scott wrote: I'm wondering if it's possible to setup a FileAppender to not open its file (and thus create it if it doesn't exist yet) until it actually logs something. I have an application which uses a different log file for each run (using the same was causing problem

Preventing FileAppender from opening file until there is something to log

2011-06-23 Thread Dylan Scott
I'm wondering if it's possible to setup a FileAppender to not open its file (and thus create it if it doesn't exist yet) until it actually logs something. I have an application which uses a different log file for each run (using the same was causing problems with multiple instances of the applicati

Re: tomcat 5.5 -- log4j error

2011-06-23 Thread Curt Arnold
This is likely a known problem with the Tomcat class loader that was resolved in Tomcat 5.5.29. Update to Tomcat 5.5.29 or later or set ENABLE_CLEAR_REFERENCES=false in your Tomcat configuration, see http://logging.apache.org/log4j/1.2/faq.html#unload https://issues.apache.org/bugzilla/show_bu