On 26/11/2009 13:26, Thomas Zastrow wrote:
Hello,

I'm new to this list and I have a simple question.

I activated the Aapche-HTTPD-style logging in Tomcat 6 with the line

<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".log"
pattern="combined" resolveHosts="true"/>

in the server.xml. It works fine, but Tomcat creates every day a new log
file. I was wondering, if there is a possibility to write all the
logging information to one big file instead of creating every day a new
file? As far as I read in the documentation, this seems to be not possible?

 http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html

Really?  "rotatable" seems to do what you want it to,
"fileDateFormat" may also be useful.


p


Thank you ver much!

Best,

Tom




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to