You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Montz, James C. (James Tower)" <JC...@jamestower.com> on 2003/03/12 15:53:14 UTC

Tomcat4 - Not use date in Logger Element File Name?

Is there anyway to get Tomcat to not put a date stamp on logs files created
from a Logger element?

I would like localhost.log NOT localhost_log.2003-03-11.txt

It is becoming difficult to manage, and renders apps such as logrotate
useless.

Note: Timestamp="true" defines whether messages in the logfile get a
timestamp, not the file name itself.

Thank you in advance!

____________________________
James C. Montz    RHCE
Hosting Services Engineer
James Tower
Phone: (507)-344-5435
E-Mail: <ma...@jamestower.com>
<http://www.jamestower.com>
Hosting Services:  hosting@jamestower.com


-----Original Message-----
From: Mariola Nowski [mailto:nowski@web.de] 
Sent: Wednesday, March 12, 2003 4:12 AM
To: tomcat-user@jakarta.apache.org
Subject: run tomcat 4.0.3 as service



Hello, 

I would create an automatic startup/shutdown service on window 2000 server
for tomcat 4.0.3 standalone. Some sources refer to a JSPService
(jsplauncher), but I can't download it from
http://members.nbci.com/yy_sun/jsplauncher/index.html. 

It would be very friendly, if someone could help me. 

Thanks
Mariola Nowski 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat4 - Not use date in Logger Element File Name?

Posted by Tim Funk <fu...@joedog.org>.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Access%20Log%20Valve
and
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html

The javadocs have better detail in the attribues you may set.

Quick summary, turn rotation off by adding:
rotatable="false"

-Tim

Montz, James C. (James Tower) wrote:
> Is there anyway to get Tomcat to not put a date stamp on logs files created
> from a Logger element?
> 
> I would like localhost.log NOT localhost_log.2003-03-11.txt
> 
> It is becoming difficult to manage, and renders apps such as logrotate
> useless.
> 
> Note: Timestamp="true" defines whether messages in the logfile get a
> timestamp, not the file name itself.
> 
> Thank you in advance!
> 
> ____________________________
> James C. Montz    RHCE
> Hosting Services Engineer
> James Tower
> Phone: (507)-344-5435
> E-Mail: <ma...@jamestower.com>
> <http://www.jamestower.com>
> Hosting Services:  hosting@jamestower.com
> 
> 
> -----Original Message-----
> From: Mariola Nowski [mailto:nowski@web.de] 
> Sent: Wednesday, March 12, 2003 4:12 AM
> To: tomcat-user@jakarta.apache.org
> Subject: run tomcat 4.0.3 as service
> 
> 
> 
> Hello, 
> 
> I would create an automatic startup/shutdown service on window 2000 server
> for tomcat 4.0.3 standalone. Some sources refer to a JSPService
> (jsplauncher), but I can't download it from
> http://members.nbci.com/yy_sun/jsplauncher/index.html. 
> 
> It would be very friendly, if someone could help me. 
> 
> Thanks
> Mariola Nowski 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org