[jboss-user] [JBoss jBPM] - Re: how do I get stacktrace from tomcat deployment of consol

syngolis do-not-reply at jboss.com
Thu Aug 16 05:58:15 EDT 2007


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



More information about the jboss-user mailing list