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/

Craig


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to