_Sopra PROJ RTE Puma wrote:
I meant this class name, this is just a writing mistake but the extras still
doesn't work.
Ok, but where is extras in relation of log4j.jar? Are they being loaded from the
same location? That is, the same classloader? You might want to try using
-Dlog4j.debug=true to see better what is going on.
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.
You are talking about the rolling appender in log4j-1.2.x.jar here, right? And
you are also talking about two separate JVM processes on the same file? That's
not supported whether using the standard rolling file appenders or the enhanced
ones. Each JVM should be set up to log to different file locations or you will
definitely run into these types of issues.
Jake
MatthieuL.
Cordialement,
L'équipe MCO PUMA
Sopra Group
01-41-66-72-97
-------- Message d'origine--------
De: Jacob Kjome [mailto:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]