RE: DailyRolling not Happening in log4j Urgent

2004-08-26 Thread Allistair Crossley
, scheduledFilename); } catch (org.apache.log4j.rolling.RolloverFailure rfE) { } ... It works for us. Allistair Crossley -Original Message- From: Balasubramanian, Lakshmi [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 02:34 To: [EMAIL PROTECTED] Subject: DailyRolling

RE: DailyRolling not Happening in log4j Urgent

2004-08-26 Thread Allistair Crossley
You need to build it yourself from CVS. I will send it to your email addres. Allistair Crossley New Media Group, QAS Ltd Telephone: 020 7819 5343 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 26 August 2004 13:27 To: [EMAIL PROTECTED] Subject: RE

log4j SEVERE ThreadDeath in Tomcat 5.0.25

2004-08-05 Thread Allistair Crossley
We are experiencing Tomcat failure as soon as the following exception gets thrown; SEVERE: Exception invoking periodic operation: java.lang.ThreadDeath at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1229) at

jar for 1.2.8 cvs head?

2004-08-03 Thread Allistair Crossley
Does anyone happen to have a JAR of the latest log4j 1.2.8 that has been compiled from CVS HEAD so that I can use the fix for renameTo in the rolling file appender? We are losing so much logging because of this bug and I cannot access CVS as our firewall blocks it. Cheers, ADC -Original

Commons Logging breaks with log4j.1.3 alpha - Caused by: java.lang.NoSuchFieldError: DEBUG

2004-08-03 Thread Allistair Crossley
Well, I managed to get my CVS working and I checked out log4j and compiled using Ant, and it ended up giving me jars for log4j1.3 alpha rather than a fixed 1.2.8 update (as you know i am looking for a fix for dailyrollingfileappender). Anyway, I have tried to use 1.3 alpha and thought i would

RE: Commons Logging breaks with log4j.1.3 alpha - Caused by: java.lang.NoSuchFieldError: DEBUG

2004-08-03 Thread Allistair Crossley
Informatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 7:31 AM To: Log4J Users List Subject: Commons Logging breaks with log4j.1.3 alpha - Caused by: java.lang.NoSuchFieldError: DEBUG Well, I managed to get my CVS working

RE: Commons Logging breaks with log4j.1.3 alpha - Caused by: java.lang.NoSuchFieldError: DEBUG

2004-08-03 Thread Allistair Crossley
, the logs from the old file will not be discarded. Log4j will keep appending to the existing file instead of discarding the old file and starting over. Do you see the difference? At 02:15 PM 8/3/2004, Allistair Crossley wrote: Thanks .. that worked. However, the fixes in 1.3 do not fix

RE: Commons Logging breaks with log4j.1.3 alpha - Caused by: java.lang.NoSuchFieldError: DEBUG

2004-08-03 Thread Allistair Crossley
Yes, I confirm I am using Log4j 1.3 ... my web app has log4j1.3alpha jar in the lib folder. In addition, Log4j 1.3 outputs new logging into the stdout that is not present in 1.2.8 and finally, if I use an older commons-logging jar tomcat fails to load web applications because it _is_ using

RE: Commons Logging breaks with log4j.1.3 alpha - Caused by: java.lang.NoSuchFieldError: DEBUG

2004-08-03 Thread Allistair Crossley
Hi Ceki, I have just recompiled with a change to the old DailyRollingFileAppender replacing the rename part with; try { org.apache.log4j.rolling.helpers.Util.rename(fileName, scheduledFilename); } catch (org.apache.log4j.rolling.RolloverFailure rfE) { } And it actually seems

RE: Gzip rolled logs

2004-08-02 Thread Allistair Crossley
Will a bug fix be available for the renameTo fail of RollingFileAppender running on Windows/Tomcat 5 variations in eitgher 1.2.8 or 1.3? Cheers -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: 02 August 2004 10:46 To: Log4J Users List Subject: RE: Gzip rolled

RE: Gzip rolled logs

2004-08-02 Thread Allistair Crossley
Oh that's good news! What is the easiest way for non-CVS developers to get hold of this fix? I can only see 1 pre-compiled download for 1.2.8 which I have. Are nightly builds not available with new fixes like Tomcat etc..? Cheers, ADC. -Original Message- From: Ceki Gülcü

RE: Gzip rolled logs

2004-08-02 Thread Allistair Crossley
/logging- log4j-12/index.html. You can also download and build yourself. Yoav Shapira Millennium Research Informatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 10:56 AM To: Log4J Users List Subject: RE: Gzip rolled logs

RE: Getting Log4j Properties to Hibernate

2004-07-29 Thread Allistair Crossley
: Allistair Crossley [EMAIL PROTECTED] To: Log4J Users List [EMAIL PROTECTED] Sent: 28 July 2004 1:16 AM Subject: RE: Getting Log4j Properties to Hibernate What kind of environment are you running in? E.g Tomcat? Standalone? You need to add log4j-1.2.8.jar into your LIB folder

RE: Getting Log4j Properties to Hibernate

2004-07-28 Thread Allistair Crossley
What kind of environment are you running in? E.g Tomcat? Standalone? You need to add log4j-1.2.8.jar into your LIB folder if this is a web application. Tomcat would automatically pick that up. Then you can use the log4j.properties file that comes with Hibernate and add that to your classes

RE: Compression of rollovers

2004-07-14 Thread Allistair Crossley
Here you go. This was created by someone else - I think their name is in the file. ADC -Original Message- From: Serge Knystautas [mailto:[EMAIL PROTECTED] Sent: 14 July 2004 16:00 To: '[EMAIL PROTECTED]' Subject: Compression of rollovers I'm looking to have rollover logs

RE: log4j:ERROR Failed to rename : more info

2004-07-08 Thread Allistair Crossley
-Original Message- From: Allistair Crossley Sent: 02 July 2004 15:24 To: Log4J Users List Cc: Ceki Gülcü Subject: RE: log4j:ERROR Failed to rename : more info Hey there, Sorry it took so long to reply Ceki. The suggested fix in this bug report only monitors the result of the rename

Why does %L output as a question mark?

2004-06-29 Thread Allistair Crossley
I've searched Google without success on this issue. I am getting question marks where the line number should be in my log files. My setup is as follows; log4j.logger.com.cmp.newmedia.intranet.iq.logic.schedules=debug, SchedulesA log4j.appender.SchedulesA=org.apache.log4j.DailyRollingFileAppender

RE: Why does %L output as a question mark?

2004-06-29 Thread Allistair Crossley
,source. actually, I don't know if there is still optimization if you force debug and debuglevel ... ionel --- Allistair Crossley [EMAIL PROTECTED] a écrit : I've searched Google without success on this issue. I am getting question marks where the line number should be in my log

RE: Why does %L output as a question mark?

2004-06-29 Thread Allistair Crossley
Information and Technical Infrastructure Technical Services Contract (EITITS) Software Engineer 4 Phone: 404-498-3184 Fax: 404-498-3166 -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 9:18 AM To: [EMAIL PROTECTED] Subject: Why does

log4j:ERROR Failed to rename : more info

2004-05-26 Thread Allistair Crossley
to rename the file that if some threads in the web application are using the logger, the rename will fail?? Thanks. Allistair Crossley __ Senior Web Developer New Media Group, QAS Ltd Telephone: 020 7819 5343 __ FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE

RE: log4j:ERROR Failed to rename : more info

2004-05-26 Thread Allistair Crossley
into this tomorrow. Gotta run now. At 08:20 PM 5/26/2004, Allistair Crossley wrote: With all due respect Ceki, a user had to develop this solution for precisely the same reason - that his files were locked by log4j itself and could not rename, and his

RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].

2004-05-21 Thread Allistair Crossley
idea on this issue? I 'm using log4j-1.2.8, JDK1.4.2_03-b02, Windows 2000 Professional **snip** We use 1.2.8, 1.4.2_04 and W2K. Cheers, ADC -Original Message- From: Allistair Crossley Sent: 21 May 2004 09:35 To: Log4J Users List Subject: RE: log4j:ERROR Failed to rename [../logs

RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].

2004-05-21 Thread Allistair Crossley
Shutting down/restarting Tomcat was not what I meant. Are you hot re-deploying your web-application on the production server? Are you performing any operations on one machine but not the other? We are not yet hot-redeploying although we will be doing shortly. At the moment we are able to

log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].

2004-05-20 Thread Allistair Crossley
Hi All We are losing production logging data I have discovered due to Log4J not being able to rename logs. I have not the slightest idea why this would start happening last week, we have successfully been running log4j for a month with the rolled files being created. log4j:ERROR Failed to

RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].

2004-05-20 Thread Allistair Crossley
to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. There is probably another process holding on to ../logs/performance.log. You are running on Windows I suppose. At 04:45 PM 5/20/2004, Allistair Crossley wrote: Hi All We are losing production logging data I have

RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].

2004-05-20 Thread Allistair Crossley
The last time I did a build it involved completely shutting down Tomcat, deleting the webapp and reinstalling the webapp and restarting TC again. That would have killed all locks no? -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 16:31 To: Log4J Users

RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04].

2004-05-20 Thread Allistair Crossley
The role Everyone has all access. -Original Message- From: Contreras García Juan Manuel [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 17:08 To: Log4J Users List Subject: RE: log4j:ERROR Failed to rename [../logs/performance.log] to [../logs/performance.log.2004-05-04]. Have you

DailyRollingFileAppender stopped rolling

2004-05-17 Thread Allistair Crossley
Our DailyRollingFileAppender log files have stopped archiving off to new files. Instead they just roll over and overwrite the current log! This has just been a recent occurrence as it used to have no trouble. Can anyone suggest why this may be the case? Cheers, ADC FONT SIZE=1

Unknown Source problem (config and example included)

2004-05-12 Thread Allistair Crossley
Hi All, Our development effort has been a little hindered by Log4J's output not revealing line numbers for errors. I am sure there is a perfectly good reason for this although I have found a caveat. A sample from our log4j.properties file is as follows to define a logger called Application.

Chainsaw : Have running but loads 0 events

2004-01-14 Thread Allistair Crossley
Hi Guys I have finally managed to work out how to install Chainsaw and have it running. But now I have a few questions if anybody would be kind enough to answer them; I have a couple of questions; 1) Is there help/usage/docs for Chainsaw? 2) Can you register logs with Chainsaw (e.g we have 6

RE: Chainsaw GUI seems to be different to those I have seen ... am i using v2?

2004-01-14 Thread Allistair Crossley
/feedback/questions as you have them.. Scott -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 5:40 AM To: [EMAIL PROTECTED] Subject: Chainsaw GUI seems to be different to those I have seen ... am i using v2? Hi All, My first experience