Yes. that is what i want exactly....

---------- Forwarded message ----------
From: James Stauffer <[EMAIL PROTECTED]>
Date: 2006. 6. 8 오후 11:14
Subject: Re: [Q] want to change logging filename as --.log.2006-06-08
To: Log4J Users List <[email protected]>


Do you want the log filename to always have the date in it?

On 6/8/06, oops shin <[EMAIL PROTECTED]> wrote:
Hi. All

I'm using log4j.

The dailyRollingFileAppender's logging file is *.log by default.

and the next day change file name with postfix(date) when logging content comes.

The problem is the exact timing.

I have another application that analyse logfile.

at next day I want to see yesterday's log, but don't know whether the
logfile name was changed or not.

( this log has special purpose, so the logging event doesn't come frequently )

As my thought.....

if log appender write log at --.log.2006-06-08 and next day
--.log.2006-06-09, I have no problem.

Is there some solution ?
Plz reply with solution ^^


Thanks in Advance.

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




--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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

Reply via email to