Do you have an example of that? I couldn't find it.

On Tue, Mar 3, 2009 at 1:09 PM, Simon Park <[email protected]> wrote:
> You could maybe use the org.apache.log4j.DailyRollingFileAppender to roll by 
> time only.  You use a pattern compatible with java.text.SimpleDateFormat to 
> configure the appender's DatePattern property with the period you want files 
> to roll, e.g. by any one of minute, hour, half-day, day, week, etc.
>
>
>
>
> ________________________________
> From: Mohit Anchlia <[email protected]>
> To: [email protected]
> Sent: Tuesday, 3 March, 2009 20:19:10
> Subject: timestamp in rolled over files
>
> Is there a way to get the timestamp instead of .1 .2 etc. when a log
> file is rolled over by log4j?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to