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
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
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
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
- 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
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
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
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
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
- 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
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
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
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
-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
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
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
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
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
18 matches
Mail list logo