1 Reply Latest reply on Aug 16, 2007 5:58 AM by Andreas Schienagel

    how do I get stacktrace from tomcat deployment of console ap

    Ross McDonald Novice

      Hi guys,

      when deployed on tomcat 5.0.28, I get an exception in the webapp, but there is no information on it in either catalina.out, or localhost_log.2007....txt, how do I get to more detailed information as in the JBoss deployment ?

      Thanks for your help


        • 1. Re: how do I get stacktrace from tomcat deployment of consol
          Andreas Schienagel Newbie

          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.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %C{1} : %m%n

          Output should be logged at console and in localhost.*.log