Great !!!!!

Thank you James Stauffer....

I can do my job with  this file name :  'my.log'.yyyy-mm-dd

I've requested some java site , but can't get response....
Thanks for VERY FAST and EXACT reply....

Thanks in Advance
oops Shin.
---------- Forwarded message ----------
From: James Stauffer <[EMAIL PROTECTED]>
Date: 2006. 6. 9 오전 2:39
Subject: Re: [Q] want to change logging filename as --.log.2006-06-08
To: Log4J Users List <[email protected]>


I have created an appender that can do that.
I uploaded it to
http://stauffer.james.googlepages.com/DateFormatFileAppender.java

On 6/8/06, oops shin <[EMAIL PROTECTED]> wrote:
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]



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

Reply via email to