Re: log4j and common logging

2010-11-17 Thread Henry Lu
all SQL debug info but not my app's info. -Henry On 11/17/2010 3:42 PM, Tim Watts wrote: What does running the program with -Dlog4j.debug tell you? Stderr should show what config file, if any, it's using. On Wed, 2010-11-17 at 14:36 -0500, Henry Lu wrote: I tried to switch from log4j t

log4j and common logging

2010-11-17 Thread Henry Lu
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