tomcat 5.5 logging

E

eunever32

Hi

In 4.1.24 we were able to direct the output of RequestDumperValve to
its own log file
as follows:

<Engine name="Standalone" defaultHost="localhost" debug="0">
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt" timestamp="true"/>



With Tomcat 5.5 I can enable RequestDumperValve as follows:
<Engine name="Catalina" default="localhost">
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
to go to catalina.out


Is it possible to configure tomcat 5.5 such that the
RequestDumperValve goes to its own files (like with the Logger element
above) and the existing webapp logging statements continue to go to
catalina.out ?

I have tried using log4j.properties but can only configure such that
catalina.out is rotated.

The problem is that regular cat.debug statements get lost in the flood
of RequestDumperValve output

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top