Re: Configuring a file appender using environment variable

2009-10-28 Thread Olivier Lefevre
For the record, the answer is wrong, as I just found out. The ${xxx} does not expand the xxx environment variable but the xxx Java property, a big difference! You can work around it by setting some custom property to the value of the variable in question and using that property in your config, tho

convert org.apache.log4j.Logger to org.apache.commons.logging.Log

2009-10-28 Thread rouble
Hi All, The class I am working in has org.apache.log4j.Logger object, and I am working with a third party library class that requires me to pass in a org.apache.commons.logging.Log object to create an instance of the factory object of that third party library. The third party library uses the pas

FileAppender is not assignable to Appender

2009-10-28 Thread chrisgage
With an application we have been running in production, we recently added some jar files from another department's application in order to have the wto apps communicate. Since then we have been getting the following error in the log at application startup. It does not appear to cause log4j to st