logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "oops shin" <shinoops.m...@gmail.com>
Subject Fwd: [Q] want to change logging filename as --.log.2006-06-08
Date Thu, 08 Jun 2006 14:33:44 GMT
Yes. that is what i want exactly....

---------- Forwarded message ----------
From: James Stauffer <stauffer.james@gmail.com>
Date: 2006. 6. 8 오후 11:14
Subject: Re: [Q] want to change logging filename as --.log.2006-06-08
To: Log4J Users List <log4j-user@logging.apache.org>


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

On 6/8/06, oops shin <shinoops.mail@gmail.com> 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: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Mime
View raw message