All --
Are there any plans to deploy version 1.2.14 to a the Maven repository
that's hosted at ibilio.org?
Ron Gallagher
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ben --
Here's your problem:
log4j: Setting [org.apache.commons.httpclient] additivity to [true].
With the additivity of the org.apache.commons.httpclient logger set to
true, any logging output that is processed by the
org.apache.commons.httpclient will also be processed by any explicitly
Gilbert --
You can accomplish what you want using the components that come packaged
w/ log4j. Here's a log4j configuration that should accomplish your
goals. Explanations follow:
log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'
appender name=AllOutput
Quinn --
Use the syntax ${xxx} in your configuration file, replacing xxx with the
name of the system property that you want to use.
Ron Gallagher, ATT Mobility
-Original Message-
From: Cheung, Quinn [mailto:[EMAIL PROTECTED]
Sent: Friday, June 01, 2007 10:06 AM
To: Log4J Users List
Naider --
The purpose of Renderers is to generate a String representation of an
Object. Since a String is already a String, there's no need to do any
additional rendering.
The getRenderedMessage method in the LoggingEvent is what is responsible
for calling any defined renderers. This method has
Bob --
Have you considered using an appender that doesn't write to any files
but simply collects all messages for later analysis?
Here's how:
1) Create an appender that simply stores all logging messages in a
static array. This appender should also provide static methods to (a)
retrieve all
Ed --
Here's my recommendation:
1) Create a class that extends java.io.PrintStream.
2) In this class, override the public void println(String) method. In
the overridden method, evaluate the string that's being written. If the
string that's being written begins with log4j:ERROR , then record
Sent from my iPhone
Hamed,
I believe this is the key message for you:
Could not find value for key log4j.appender.console
You've configured an appender named CONSOLE, but you haven't
configured one named console. Case matters.
Change these three lines:
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender