You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Puneet C Mathur <pu...@gmail.com> on 2008/07/08 01:39:10 UTC
Tomcat 5.0 rolling stdout
Hi
The stdout log file on a tomcat server is getting pretty full do to the
amount of data being written out by a third party application.
Is there a way to have stdout.log rolling every day/limited by size, rather
than having one big file? (using log4j.properties or something).
We are running Tomcat 5.0.30 on Windows as a service.
I am new to Tomcat, would appreciate help.
Thanks in advance.
Puneet
Re: Tomcat 5.0 rolling stdout
Posted by Puneet C Mathur <pu...@gmail.com>.
Thanks Steve.
'logrotate' did the trick. There is a windows port available at
http://www.datori.org/?p=7 . Thanks Nick !
Cheers
Puneet
On 08/07/2008, Puneet C Mathur <pu...@gmail.com> wrote:
>
> Sorry mate, 'due' to....
> :)
>
> I wish I could tell the vendor ......
>
>
> Puneet
>
>
> On 08/07/2008, Steve Ochani <oc...@ncc.edu> wrote:
>>
>> On 8 Jul 2008 at 9:39, Puneet C Mathur wrote:
>>
>> Date sent: Tue, 08 Jul 2008 09:39:10 +1000
>> From: Puneet C Mathur <pu...@gmail.com>
>> Subject: Tomcat 5.0 rolling stdout
>> To: users@tomcat.apache.org
>> Send reply to: Tomcat Users List <us...@tomcat.apache.org>
>>
>> > Hi
>> >
>> > The stdout log file on a tomcat server is getting pretty full do to
>>
>> "due" not do
>>
>>
>> > the
>> > amount of data being written out by a third party application.
>>
>> Tell the makers of the third party app to use a logging mechanism.
>>
>> >
>> > Is there a way to have stdout.log rolling every day/limited by size,
>> > rather
>> > than having one big file? (using log4j.properties or something).
>>
>> Review this thread:
>>
>>
>> http://marc.info/?l=tomcat-user&m=120725811918281&w=2
>>
>>
>>
>> -Steve O.
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> --
> Puneet C Mathur
> (puneet.c.mathur@gmail.com)
--
Puneet C Mathur
(puneet.c.mathur@gmail.com)
Re: Tomcat 5.0 rolling stdout
Posted by Puneet C Mathur <pu...@gmail.com>.
Sorry mate, 'due' to....
:)
I wish I could tell the vendor ......
Puneet
On 08/07/2008, Steve Ochani <oc...@ncc.edu> wrote:
>
> On 8 Jul 2008 at 9:39, Puneet C Mathur wrote:
>
> Date sent: Tue, 08 Jul 2008 09:39:10 +1000
> From: Puneet C Mathur <pu...@gmail.com>
> Subject: Tomcat 5.0 rolling stdout
> To: users@tomcat.apache.org
> Send reply to: Tomcat Users List <us...@tomcat.apache.org>
>
> > Hi
> >
> > The stdout log file on a tomcat server is getting pretty full do to
>
> "due" not do
>
>
> > the
> > amount of data being written out by a third party application.
>
> Tell the makers of the third party app to use a logging mechanism.
>
> >
> > Is there a way to have stdout.log rolling every day/limited by size,
> > rather
> > than having one big file? (using log4j.properties or something).
>
> Review this thread:
>
>
> http://marc.info/?l=tomcat-user&m=120725811918281&w=2
>
>
>
> -Steve O.
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
Puneet C Mathur
(puneet.c.mathur@gmail.com)
Re: Tomcat 5.0 rolling stdout
Posted by Steve Ochani <oc...@ncc.edu>.
On 8 Jul 2008 at 9:39, Puneet C Mathur wrote:
Date sent: Tue, 08 Jul 2008 09:39:10 +1000
From: Puneet C Mathur <pu...@gmail.com>
Subject: Tomcat 5.0 rolling stdout
To: users@tomcat.apache.org
Send reply to: Tomcat Users List <us...@tomcat.apache.org>
> Hi
>
> The stdout log file on a tomcat server is getting pretty full do to
"due" not do
> the
> amount of data being written out by a third party application.
Tell the makers of the third party app to use a logging mechanism.
>
> Is there a way to have stdout.log rolling every day/limited by size,
> rather
> than having one big file? (using log4j.properties or something).
Review this thread:
http://marc.info/?l=tomcat-user&m=120725811918281&w=2
-Steve O.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org