logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Advice needed
Date Wed, 17 Sep 2003 15:17:00 GMT

At 10:10 AM 9/17/2003 -0500, you wrote:
>       A few questions.
>       We are using the daily rolling file appender.  Last night or app died
>under a heavy test run.
>       The log size reached 259,998kb.
>       The console(or log file) showed no specific errors from log4j or
>       1 - Is there an upper file limit?

No, there is not.

>       2 - As I understand it Log4j *will not* shut down our app if it has a


>       3 - Is it bad practice to allow log files to grow that big?
>                       We will probably keep our logging quite verbose for
>the first while when we go live.
>                       Should be rolling on file size instead of date?

Rolling the log file once a day or once a week is common practice.

>           Can we roll on both date and file size? ie: new file each day
>unless it reaches a certain size.

This has been discussed before. See the archives.

>We are using
>  jboss-3.0.4_tomcat-4.0.6 (i believe has log4j 1.2.2), JDK 1.4.1, running
>on NT
>Any advice would be welcome..

Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

      import org.apache.Facetime;
      ApacheCon US 2003, 18-21 November http://apachecon.com/

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

View raw message