I tried to switch from log4j to org.apache.commons.logging.Log + log4j. I my code, I have:

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
...

public class XYZ
{
   static Log log = LogFactory.getLog("Xyz");
...
}

and I am using the existing log4j.property file which works fine for log4j.

There is no compile error at all.

But when I run the program, there is no log info at all.
why?

-Henry

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to