bhas wrote:
I think its not getting till the jsp page as the jsp files are not compiled 
when I hit the index.do url.
Can you help me little bit on how to turn on the logging as I do not see any of 
the struts action servlet logs getting printed.

Struts uses Commons Logging [1] for all its logging, see there for detailed information on how to configure it. But for a quick-fix, put a copy of log4j.jar in your classpath and place the following in WEB-INF/classes/log4j.properties:

-----8<-----8<-----8<-----8<-----

log4j.rootCategory=WARN, A1
#log4j.rootCategory=DEBUG, A1

log4j.logger.org.apache.struts=DEBUG

# A1 is set to be ConsoleAppender sending its output to System.out
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.logger.org.agilesoft=DEBUG
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-5p [%t] %c{5} - %m%n

-----8<-----8<-----8<-----8<-----

That'll dump all Struts logging to the console.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to