struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Yu <>
Subject Re: more verbose logging
Date Wed, 11 Sep 2002 02:40:40 GMT
Hi Vincent,

Struts internally uses Commons-Logging.

Basically, Commons-Logging will try to use JDK1.4 logging, Log4J and Avalon 
LogKit, depending which one it finds on the classpath. Then, the logging is 
controlled by the found logging implementation.

For instance, if you have Log4J, Commons-Logging will use Log4J. In this 
case, to get more debug messages from Struts in the servlet container's log 
file, set in the file:

   log4j.rootCategory=INFO, stdout

See file:///C:/Development/commons-logging-1.0.1/docs/api/index.html for 
more info.

At 02:16 am 11-09-2002, you wrote:
>Hello, I am trying to debug my struts app.
>When I submit a form I just get a blank page and I would
>like to know if there is a way for struts to tell me what
>exactly it is doing the action mapping as it is happening.
>Vincent Stoessel
>Linux Systems Developer

John Yu                       Scioworks Technologies
e:         w: +(65) 873 5989
w:   m: +(65) 9782 9610

Scioworks Camino - "Don't develop Struts Apps without it!"
Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message