In my recent experience, I found that when I didn't have log4j or jdk1.4, it was using SimpleLog. I see that the package description says it would use NoOpLog, but the code in LogFactoryImpl shows that it actually will use SimpleLog. This was done on purpose by costin back in February of this year (from the logs). I'll submit a documentation bug report for commons-logging.
> -----Original Message----- > From: Craig R. McClanahan [mailto:craigmcc@;apache.org] > > On Thu, 14 Nov 2002, Karr, David wrote: > > > Date: Thu, 14 Nov 2002 11:54:25 -0800 > > From: "Karr, David" <[EMAIL PROTECTED]> > > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > > To: Struts Users Mailing List <[EMAIL PROTECTED]> > > Subject: RE: FormBean creation... > > > > Actually, I believe the default Struts logger is the SimpleLog, not > > log4j. Therefore, if you put a file named "simplelog.properties" in > > your "WEB-INF/classes" directory, with the following contents, you > > should get that debug output (untested): > > > > org.apache.commons.logging.simplelog.defaultlog = debug > > > > Struts doesn't configure logging itself -- it's all done by > commons-logging under the covers. The default algorithm is a search: > * If Log4J is there, use it. > * If JDK 1.4 is there, us it. > * Otherwise, use a no-op logger. > > For configuration details, see the "Package Description" > section of the > Javadocs: > > http://jakarta.apache.org/commons/logging/api/ -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>