New filter

2002-08-01 Thread Raúl Carazo
I'm using log4J 1.2.5 and I'm trying to create a filter for some information. But I have a question. I'm using the LoggingEvent class, and I've seen a field inside (logger) that returns a Category object. I think it's the Category that called the log, isn't it? But I can't take

RE: RollingFileAppender disk full handling

2002-08-01 Thread Wullschleger, Donat
Colin, I tried a similar thing with the DailyRollingFileAppender (or for test purposes just with the FileAppender). My aim was to ask the user to replace the media if it is full with a new one or choose another location for the logfile. To detect an exception or another error condition, I did

Re: New filter

2002-08-01 Thread Ceki Gülcü
At 09:36 01.08.2002 +0200, you wrote: I'm using log4J 1.2.5 and I'm trying to create a filter for some information. But I have a question. I'm using the LoggingEvent class, and I've seen a field inside (logger) that returns a Category object. I think it's the Category that

New filter

2002-08-01 Thread Raúl Carazo
I can't receive to my mail, but I can see the messages in mail-archives.com, so... Yes, I've created an extension of Logger with a protected field. Then, in the decide method of my filter, I want to see this field for testing its value, but it seem it doesn't work... I think I'm doing

Fw: New filter

2002-08-01 Thread Raúl Carazo
- Original Message - From: Raúl Carazo [EMAIL PROTECTED] To: Log4J [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 11:11 AM Subject: Fw: New filter I can't receive to my mail, but I can see the messages in mail-archives.com, so... Yes, I've created an extension of Logger

Re: New filter

2002-08-01 Thread Ceki Gülcü
You should first subscribe to the log4j-user list. See http://jakarta.apache.org/log4j/docs/contactUs.html for more information. At 11:06 01.08.2002 +0200, you wrote: I can't receive to my mail, but I can see the messages in mail-archives.com, so... Yes, I've created an extension

Fwd: an AsyncAppender class

2002-08-01 Thread Ceki Gülcü
Paul, If you omit the join operation, you have no way of knowing when the appenders attached to the AsyncAppender have finished their work. If thinking that the previous AsyncAppender was closed, you immediately create another AsyncAppender that encapsulates appenders writing to the same system

Re: New filter

2002-08-01 Thread Raúl Carazo
At 09:36 01.08.2002 +0200, you wrote: I'm using log4J 1.2.5 and I'm trying to create a filter for some information. But I have a question. I'm using the LoggingEvent class, and I've seen a field inside (logger) that returns a Category object. I think it's the Category that

Re: New filter

2002-08-01 Thread Ceki Gülcü
At 11:21 01.08.2002 +0200, Raúl Carazo wrote: At 09:36 01.08.2002 +0200, you wrote: I'm using log4J 1.2.5 and I'm trying to create a filter for some information. But I have a question. I'm using the LoggingEvent class, and I've seen a field inside (logger) that returns a

Re: New filter

2002-08-01 Thread Raúl Carazo
- Original Message - From: Ceki Gülcü [EMAIL PROTECTED] To: Log4J Users List [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 11:30 AM Subject: Re: New filter At 11:21 01.08.2002 +0200, Raúl Carazo wrote: At 09:36 01.08.2002 +0200, you wrote: I'm using log4J 1.2.5 and I'm

another AsyncAppender class question

2002-08-01 Thread Paul Voutier
hi, thanks for your answer to my previous question, Ceki. I understand your answer and, of course, I understand the need to tidy up properly. I am still concerned about the waiting though. I have written a simple waiting appender, which on close() just sleeps for 10 seconds. I then wrote

RE: feature request: logging a stack trace

2002-08-01 Thread Hein Meling
I knew about the location info stuff, but this applies to all messages logged, and that will clearly affect performance even more than doing it for just a few log messages. Also, the location info does not include the entire stack trace, thus making it difficult to trace the entire chain of

RE: feature request: logging a stack trace

2002-08-01 Thread Ceki Gülcü
Hmm, you are not aware of the debug(Object, Throwable) method in Logger class, are you? You can just write: log.debug(genereting stack trace, new Exception()); At 15:10 01.08.2002 +0200, you wrote: I knew about the location info stuff, but this applies to all messages logged, and

RE: RollingFileAppender disk full handling

2002-08-01 Thread Colin MacDonald
-Original Message- My aim was to ask the user to replace the media if it is full with a new one or choose another location for the logfile. Yeah, my case should be simpler than that. If I can't write the log, I'll probably just spit something to console and exit. To detect an

Are there any browser based configuration tools for log4j config files?

2002-08-01 Thread Eric Gilbertson
Log4J Users: Anyone know of an browser based tool for the editing of XML based log4j configuration files? Ideally this tool would provide a tree view of the category hierarchy with the ability to modify appenders and category settings. Searching the archives I did come across configLog4j (free

Re: Are there any browser based configuration tools for log4j config files?

2002-08-01 Thread Luc_Bell
Here are a few open source tools that edit XML from a browser, but I have not used them to validate capabilities/reliability. XOPUS http://www.q42.nl/products/xopus/ BB-XEDIT http://sourceforge.net/projects/bb-xedit/ Luc Bell Eric Gilbertson [EMAIL PROTECTED] on 08/01/2002 10:50:34 AM

[ANNOUNCEMENT] Log4j version 1.2.6 released

2002-08-01 Thread Ceki Gülcü
Greetings to all, Log4j developers are happy to announce the release of log4j 1.2.6, a minor maintenance release. The most significant change is the addition of the log4j.ignoreTCL system property. The HISTORY file reads: July 31st, 2002 - Release of version 1.2.6 - Log4j now will

Re: Are there any browser based configuration tools for log4j config files?

2002-08-01 Thread Eric Gilbertson
Luc: Thanks for the tip. I will check them out. I was thinking though more of a tool that was specific to the configuration of log4j. I've yet to see a generic XML editor that I felt was intuitive enough to present to a non-XML conversant user. Regards, Eric Gilbertson At 12:12 PM