Ceki ,

first thanks for your support !

I have try with log4j.debug=true
but it doesn't work

here is the output - everything seems ok, no?


log4j:ERROR Failed to rename [../logs/conferences.log] to
[../logs/conferences.log.2003-03-07-19-05].
log4j: setFile called: ../logs/conferences.log, false
log4j: setFile ended
log4j:ERROR Failed to rename [../logs/conferences.log] to
[../logs/conferences.log.2003-03-07-19-09].
log4j: setFile called: ../logs/conferences.log, false
log4j: setFile ended
log4j: Parsing for [root] with value=[DEBUG, rolling, smtp].
log4j: Level token is [DEBUG].
lo4j: Category root set to DEBUG
log4j: Parsing appender named "rolling".
log4j: Parsing layout options for "rolling".
log4j: Setting property [conversionPattern] to [%d{ABSOLUTE} - %p %c -%m%n].
log4j: End of parsing for "rolling".
log4j: Setting property [datePattern] to [.yyyy-MM-dd-HH-mm].
log4j: Setting property [file] to [../logs/conferences.log].
log4j: setFile called: ../logs/conferences.log, true
log4j: setFile ended
log4j: Appender [rolling] to be rolled every minute.
log4j: Parsed "rolling" options.
log4j: Parsing appender named "smtp".
log4j: Parsing layout options for "smtp".
log4j: Setting property [conversionPattern] to [%d{ABSOLUTE} - %p %c -%m%n].
log4j: End of parsing for "smtp".
log4j: Setting property [SMTPHost] to [relay.skynet.be].
log4j: Setting property [to] to [EMAIL PROTECTED]
log4j: Setting property [from] to [EMAIL PROTECTED]
log4j: Setting property [subject] to [Log4j at Conferences application].
log4j: Setting property [threshold] to [FATAL].
log4j: Parsed "smtp" options.
log4j: Finished configuring.




> ----- Original Message -----
> From: "Ceki Gülcü" <[EMAIL PROTECTED]>
> To: "Jean-Noel WALLEZ" <[EMAIL PROTECTED]>
> Sent: Friday, March 07, 2003 2:14 PM
> Subject: Re: Error in renaming the file During DailyRollover option
>
>
> >
> > Can you please direct your question to [EMAIL PROTECTED]
> >
> > I don't see anything wrong with your config file. Have you tried running
> it
> > with
> >
> > log4j.debug=true
> >
> > ?
> >
> > At 02:55 PM 3/6/2003 +0100, you wrote:
> > >Can you help me?
> > >
> > >I use the version "jakarta-log4j-1.2.8"
> > >
> > >And don't manage to rename the file
> > >
> > >Here is my configuration
> > >
> > ># Configure the rolling appender to be a RollingFileAppender
> > >log4j.appender.rolling=org.apache.log4j.DailyRollingFileAppender
> > >
> > ># Configure the name of the logout for the rolling appender
> > >log4j.appender.rolling.File=c:\\data\\clients\\oriflame\\jnw.txt
> > >log4j.appender.rolling.DatePattern='.'yyyy-MM-dd-HH-mm
> > >log4j.appender.rolling.Append = true
> > >log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
> > >log4j.appender.rolling.layout.ConversionPattern=%d{ABSOLUTE} - %p
> %c -%m%n
> > >
> > >
> > >regards
> > >
> > >JN WALLEZ
> >
> > --
> > Ceki
> >
> > -
> >
> >
>


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

Reply via email to