Rotate stdout_xxx.log without Restart Tomcat

View: New views
4 Messages — Rating Filter:   Alert me  

Rotate stdout_xxx.log without Restart Tomcat

by Alexander Diedler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

It is possible to implement a log rotation for the Tomcat Default logs
(Stdout, stderr,localhost,Jakarta_service etc) ?

It is a Tomcat 6.0.14 x64 on Windows 2003 Std Ed.

 

Greetings

Alex

 

 


Parent Message unknown FW: Rotate stdout_xxx.log without Restart Tomcat

by Alexander Diedler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Has nobody any idea about rotating Tomcat logfiles??

Alex

-----Original Message-----
From: Alexander Diedler [mailto:ADiedler@...]
Sent: Friday, July 18, 2008 9:24 AM
To: users@...
Subject: Rotate stdout_xxx.log without Restart Tomcat

Hello,

It is possible to implement a log rotation for the Tomcat Default logs
(Stdout, stderr,localhost,Jakarta_service etc) ?

It is a Tomcat 6.0.14 x64 on Windows 2003 Std Ed.

 

Greetings

Alex

 

 


---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: FW: Rotate stdout_xxx.log without Restart Tomcat

by Alex Mestiashvili :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexander Diedler wrote:

> Has nobody any idea about rotating Tomcat logfiles??
>
> Alex
>
> -----Original Message-----
> From: Alexander Diedler [mailto:ADiedler@...]
> Sent: Friday, July 18, 2008 9:24 AM
> To: users@...
> Subject: Rotate stdout_xxx.log without Restart Tomcat
>
> Hello,
>
> It is possible to implement a log rotation for the Tomcat Default logs
> (Stdout, stderr,localhost,Jakarta_service etc) ?
>
> It is a Tomcat 6.0.14 x64 on Windows 2003 Std Ed.
>
>  
>
> Greetings
>
> Alex
>
>  
>
>  
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@...
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  

The problem is windows ...

but , may be this links will be useful for you
http://www.datori.org/?p=7
http://freshmeat.net/projects/perl-logrotate/

but , you should be careful with log rotation , it is better to copy log
and truncate it , but not rename , in such case restart of tomcat is not
needed .

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: FW: Rotate stdout_xxx.log without Restart Tomcat

by Cosio, Raul :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I run tomcat under "java service wrapper" little slow to install but great to work with, and it supports rolling of logs...

http://wrapper.tanukisoftware.org/doc/english/props-nt.html 


------------------------------------------------
Raúl Cosío
Business Technology

(+52) 55 5481 9600 ext 9333

-----Original Message-----
From: Alex Mestiashvili [mailto:alexander.mestiashvili@...]
Sent: Lunes, 21 de Julio de 2008 04:32 a.m.
To: Tomcat Users List
Subject: Re: FW: Rotate stdout_xxx.log without Restart Tomcat

Alexander Diedler wrote:

> Has nobody any idea about rotating Tomcat logfiles??
>
> Alex
>
> -----Original Message-----
> From: Alexander Diedler [mailto:ADiedler@...]
> Sent: Friday, July 18, 2008 9:24 AM
> To: users@...
> Subject: Rotate stdout_xxx.log without Restart Tomcat
>
> Hello,
>
> It is possible to implement a log rotation for the Tomcat Default logs
> (Stdout, stderr,localhost,Jakarta_service etc) ?
>
> It is a Tomcat 6.0.14 x64 on Windows 2003 Std Ed.
>
>  
>
> Greetings
>
> Alex
>
>  
>
>  
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@...
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  

The problem is windows ...

but , may be this links will be useful for you
http://www.datori.org/?p=7
http://freshmeat.net/projects/perl-logrotate/

but , you should be careful with log rotation , it is better to copy log
and truncate it , but not rename , in such case restart of tomcat is not
needed .
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or
MSD and in Japan, as Banyu - direct contact information for affiliates is
available at http://www.merck.com/contact/contacts.html) that may be
confidential, proprietary copyrighted and/or legally privileged. It is
intended solely for the use of the individual or entity named on this
message. If you are not the intended recipient, and have received this
message in error, please notify us immediately by reply e-mail and
then delete it from your system.


---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price