logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "_Sopra PROJ RTE Puma" <rte.p...@sopragroup.com>
Subject RE : How to use the extras
Date Fri, 07 Dec 2007 10:29:42 GMT
I meant this class name, this is just a writing mistake but the extras still doesn't work.

In fact, i'm facing the famous problem when log4j renames myfile.log to myfile.log.1 under
windows.
I found some bugfix in the 1.3 alpha, but it justs continues to log into the main file instead
of losing data when the renaming doesn't work.

The problem is there are 2 file handles on the log file, this prevents log4j in the success
of renaming the file.
I found a way to make it work by killing one of the handles (the oldest one) just after my
weblogic starts. But i just can't deliver that in production.

MatthieuL.


Cordialement,

L'équipe MCO PUMA
Sopra Group
01-41-66-72-97



-------- Message d'origine--------
De: Jacob Kjome [mailto:hoju@visi.com]
Date: ven. 07/12/2007 05:42
À: Log4J Users List
Objet : Re: How to use the extras
 

Try...

org.apache.log4j.rolling.RollingFileAppender

instead of

org.apache.logging.rolling.RollingFileAppender


Jake

_Sopra PROJ RTE Puma wrote:
> I just can't use them correctly.
> 
> I tried to add the jar into my weblogic (9.1) classpath, and then changing the call from
org.apache.logging.RollingFileAppender to org.apache.logging.rolling.RollingFileAppender.
> 
> But it desperately says No class def found...
> 
> If anyone has a clue on this, it would be very appreciated!
> 

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



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message