You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Radha Krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED at Cisco)" <ra...@cisco.com> on 2015/05/06 09:02:52 UTC

Tomcat 6.0.37 - catalina.out is not rotated

Hi,

We are using tomcat 6.0.37 on RED Hat Linux platform. All of sudden what we observed is catalina.out.1 file is not rotated properly and grows till 170 GB.
Please see following screenshot . Is there any rotation mechanism available for the log files? If yes, any known issue in this tomcat version why rotation is not happening.
Please let me know what to check to proceed further.

[cid:image001.png@01D087F8.C22813F0]

Thanks
Radhakrishna

Re: Tomcat 6.0.37 - catalina.out is not rotated

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Radha,

On 5/6/15 3:02 AM, Radha Krishna Meduri -X (radmedur - HCL
TECHNOLOGIES LIMITED at Cisco) wrote:
> We are using tomcat 6.0.37 on RED Hat Linux platform. All of sudden
> what we observed is catalina.out.1 file is not rotated properly and
> grows till 170 GB.
> 
> Please see following screenshot . Is there any rotation mechanism 
> available for the log files? If yes, any known issue in this
> tomcat version why rotation is not happening.
> 
> Please let me know what to check to proceed further.

http://wiki.apache.org/tomcat/FAQ/Logging#Q10

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVSg4RAAoJEBzwKT+lPKRYvGcP/0K/ti/JnPr9SUfQu3EFpWBa
pXqN0a1FkCZOA74J2xg5rfDs5dsyxbadY9/OzLPeeaFnmtqfEsLPj1EsPzWB5r+e
0IZh09A2D6iQngUa9wwvuPew2FL6AkweJtQvwT7nZLS25YZfhhwuNiAzqF3XYvnA
Ujs9BQpNNoYR7jL8zlTsHkMRSJc59KalIJqr9NotAJQG+F+WBlr9A6wiw5hnzjg4
ppOSA942qqOlaeYQ8Hiax2jPNgqcVV5FT1UsaIT/N5K7UtwqhY6iRsTSRLaJA3tc
KeKB9S1zMkduLPUjTq5V5ZhYWmneACyE5Ti6bacMgjsH7lAeGJJMkiIoclJesQeh
GubNsmLuHZsk0NoR/ybyueyhRJyFEs3ef0AaTa3g7ohLtnLK7c/DzKWtQRlOecgN
YIY7+vQtTJRbIINkR4a02CXKTc5D6rVCD9WCK9i8g5BTE2i9a6OQItkdDk7Sv5NQ
XrcLANh1dEpRjeyjl1IJwMsNzyGDsAE8Cgm162SvSQEQ5u+9AHPiY7XBrn+ZxeiJ
wBU8sGJO3bpH12/3k2KwdDzZKUvrKP2yz27N3h8hLyTuhZlJ44OoFLlDmmb2A9d4
czI3W7gOcyal8rH9lzklR/1FaRHZCf3EF7iu58Ee2DrK+ZDAeCibRGkJZOdIX7yW
fntl7TXocfx+qH8MuwOT
=OBQI
-----END PGP SIGNATURE-----

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


Re: Tomcat 6.0.37 - catalina.out is not rotated

Posted by Mark Thomas <ma...@apache.org>.
On 06/05/2015 08:02, Radha Krishna Meduri -X (radmedur - HCL
TECHNOLOGIES LIMITED at Cisco) wrote:
> Hi,
> 
>  
> 
> We are using tomcat 6.0.37 on RED Hat Linux platform. All of sudden what
> we observed is catalina.out.1 file is not rotated properly and grows
> till 170 GB.
> 
> Please see following screenshot . Is there any rotation mechanism
> available for the log files? If yes, any known issue in this tomcat
> version why rotation is not happening.
> 
> Please let me know what to check to proceed further.

Tomcat does not rotate catalina.out since that is the result of
redirecting stdout and applications should not be writing anything to
stdout.

Check your log configuration isn't duplicating logs to the console (you
don't want that on a production system).

Mark


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