Tnx,
Well, sometimes it do append.... (I've living logs from 24/4 and 16/4,
nothing between...)
I'll add it to my log4j and see what's going on tonight.

Maybe someone can point out where we can find the full syntax of
log4j.properties file.

regards,
Tamir

-----Original Message-----
From: Chimbu Thankachan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 1:45 PM
To: Log4J Users List
Subject: RE: The roll over option for log file is not working


Hi Tamir,

Use this option,
log4j.appender.Default.append=true
I dont know what is the default option , but if u use
this it will allways append.

regards
chimbu

 --- tamir <[EMAIL PROTECTED]> wrote: > Hi,
> In order to encourage other people to help, I'll say
> that you're not the
> only one...
> 
> My properties file looks the same except for:
> log4.appender.LOG.DatePattern='.'yyyy-MM-dd-a
> (Try this one, maybe ??)
> 
> The rolling used to work, however, these days It
> just DELETES the previous
> log file and creates a new
> one for the new day (although, my tomcat 3.3.1 is
> active all day & night),
> thus all logging is lost..
> 
> 
> -----Original Message-----
> From: Chimbu Thankachan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 12:05 PM
> To: Log4J Users List
> Subject: The roll over option for log file is not
> working
> 
> 
> Hi
> 
> The roll over option for log file is not working. I
> am
> enclosing the relevant lines of log4j.properties
> file
> which I am using. Let me know where I have gone
> wrong
> 
> regards
> chimbu
> 
>
log4j.appender.Default=org.apache.log4j.DailyRollingFileAppender
>
log4j.appender.Default.file=D:\\b2bes\\software\\iPlanet\\docs\\logs\\log4j.
> log
> log4j.appender.Default.DatePattern='.'yyyy-MM-dd-HH
>
log4j.appender.Default.layout=org.apache.log4j.PatternLayout
>
log4j.appender.Default.layout.ConversionPattern=%d{dd
> MMM yy HH:mm:ss} - %5p - %c.class - %L - %M() - %m%n
> log4j.appender.Default.append=true
> 
>
________________________________________________________________________
> For live cricket scores download  Yahoo! Score
> Tracker
>  at: http://in.sports.yahoo.com/cricket/tracker.html
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>  

________________________________________________________________________
For live cricket scores download  Yahoo! Score Tracker
 at: http://in.sports.yahoo.com/cricket/tracker.html

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to