AFIAK, you have to put a log4j.properties in your \WEB-INF\classes for logging.
This should do the job...
I use this property file in my tomcat testapp:
| # Set root logger level to DEBUG and its only appender to CONSOLE.
| log4j.rootLogger=INFO, CONSOLE
|
| # CONSOLE
| log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
| log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
| log4j.appender.CONSOLE.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p
%C{1} : %m%n
|
Output should be logged at console and in localhost.*.log
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074771#4074771
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074771
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user