Try something like Level.error or Level.ERROR.
On 2/23/07, Robin Walker <[EMAIL PROTECTED]> wrote:
Hello,
Looking online, I found this neat bit of code and am trying to use it to send
STDERR
to log4j so we can log all System.err using log4j. Trouble is, it requires
both a
Logger and Level to
Hello,
Looking online, I found this neat bit of code and am trying to use it to send
STDERR
to log4j so we can log all System.err using log4j. Trouble is, it requires
both a
Logger and Level to be passed into the constructor and I'm a bit confused with
regards to the "Level".
#1 - I'm not cl
Hi,
Yes, perhaps there are reasons to change it, but then help me understand how
to configure log4j in the following scenario.
We provide a log4.xml within our app's jar so that our application logs
messages during startup (say to file1 and console). We also let the users
specify a separate (exte
Hello Jake et al,
The complete log4j manual is correct as far as log4j 1.0, 1.1, 1.2 are
concerned. However, in log4j 1.3 the behavior was changed because:
1) it is not what a user would expect without reading the docs (surprise
element)
2) very few people seemed to take advantage of the "p
At 06:11 PM 2/23/2007, Chris Fellows wrote:
Thanks for the fast response. LogBack uses 1.5 jdk and we're not quite
ready to upgrade that to 5. Is there a way I can use log4j or commons to
accomplish the type of filter I mentioned? Regards, Chris
No, log4j not commons logging offer what you are
Is Log4j.jar at the same level commons-logging.jar? That is, are they in the
same classloader? And are you making sure to use commons-logging.jar and not
commons-logging-api.jar?
Jake
Quoting [EMAIL PROTECTED]:
> Hi,
>
> Not sure if this is the correct list for this but will try anyway.
>
> W
Thanks for the fast response.
LogBack uses 1.5 jdk and we're not quite ready to upgrade that to 5.
Is there a way I can use log4j or commons to accomplish the type of filter I
mentioned?
Regards,
Chris
- Original Message
From: Ceki Gülcü <[EMAIL PROTECTED]>
To: Log4J Users List ;
lo
It is "the Complete Log4j Manual" for as of v1.2.9, Dec, 2004, Page 68,
there is " element" bullet at the bottom of the page.
Note that it says "Similar to the element, declaring element
will have the effect...". So it is not an exception for element.
And yes, I tried with v1.2.8, and it seems
Hi,
Not sure if this is the correct list for this but will try anyway.
We hava a java app which throws the following when run as a db2 stored
procedure:
java.lang.ExceptionInInitializerError
at
org.apache.axis.handlers.BasicHandler.(BasicHandler.java:43)
at org.apache.axis.client.Ser