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 passed in Log object to send logs directly to the same logger/logfile as the calling class. Note, that I cannot change the third party library, but I do have access to org.apache.commons.logging.Log in my own code. I was wondering if it is possible to cast or convert a org.apache.log4j.Logger to a org.apache.commons.logging.Log, or if I need to create a new Log object and pass that in to the third party library? tia, rouble --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
