Date sent:      Tue, 11 Dec 2007 01:13:11 -0800 (PST)

>   Hi Steve,
>   thanks,
>   OS is windows 2003.
> 
> How can I archive stdout.log in a production environment without
> stopping tomcat?

Hmm, sorry, I don't know how to rotate logs on windows.
On unix you can use cronolog.


>   I want that tomcat automatically archives the stdout.log file and
> creates a new one once a certains size is reached. Otherwise the log
> file size raises everyday !
> 
> How can I configure "logrotate" as you mentioned? is it applicable on
> windows as well?
> 
>   thank you 
> 
> Steve Ochani <[EMAIL PROTECTED]> wrote:
>   On 10 Dec 2007 at 1:16, Stefano Martines wrote:
> 
> > Hi All,
> > 
> > Although the log level is low, the stdout.log size is increasing in
> > production day by day. I want that tomcat automatically archives the
> > stdout.log file and creates a new one once a certains size is
> > reached.
> > 
> > How can I do that?
> > 
> 
> You didn't mention what OS you're using (or Tomcat version for that
> matter) but if you're using unix, try logrotate.
> 
> 
> 
> > I want somethink like this:
> > 
> > stdout.log 12 MB
> > stdout_1.log 50 MB
> > stdout_2.log 50 MB
> > stdout_3.log 50 MB
> > 
> > thank you 
> > Stefano
> > 
> > 
> > 
> > ____________________________________________________________________
> > ________________ Be a better friend, newshound, and know-it-all with
> > Yahoo! Mobile. Try it now.
> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
> e-mail: [EMAIL PROTECTED] For additional commands,
> e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------
>   Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
>   Try it now.
> 
> 
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. 
> Try it now.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to