This should work:
Add this to your chainsaw receiver xml config:
<logger name="org.apache.log4j">
<level value="off"/>
</logger>
It will disable all log4j logging (you may want to set this to warn or
error instead of off)
Scott Deboy
Principal Engineer
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR 97201
Office: 503.224.7496
Direct Line: 503.821.6482
Cell: 503.997.1367
Fax: 503.222.0185
[EMAIL PROTECTED]
www.comotivsystems.com
-----Original Message-----
From: Cerizza, Giordano [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 13, 2008 5:53 PM
To: Log4J Users List
Subject: RE: debug messages on chainsaw
Hi Paul,
what I'm talking about are the DEBUG messages coming from the Root
Logger (i.e. org.apache.log4j.chaisaw). This logger
is the default one that it is loaded when launching Chainsaw and I need
to get rid of these messages.
Can you give me a hint? I looked around but I didn't find any solution.
Thanks a lot
ciao
Giordano
-----Original Message-----
From: Paul Smith [mailto:[EMAIL PROTECTED]
Sent: Wed 2/13/2008 4:43 PM
To: Log4J Users List
Subject: Re: debug messages on chainsaw
what sort of debug messages are you seeing here?
Paul
On 14/02/2008, at 5:02 AM, Cerizza, Giordano wrote:
> Hi all,
> I'm working at a complex structure with different supervisors report
> error messages
> following a certain hierarchy. When launching Chainsaw there are
> many default debug
> messages that complicate the error monitoring and I would like to
> remove them.
> I have this file where I configured everything I need and I tried to
> change the last
> line from "DEBUG" to "INFO" to reduce them but no effects occur.
> This is the file I use:
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration
> xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
>
> <plugin name="logFileReceiver"
> class="org.apache.log4j.net.XMLSocketReceiver">
> <param name="name" value="pixel" />
> <param name="port" value="1972" />
> <param name="threshold" value="INFO" />
> </plugin>
>
> <root>
> <level value="INFO"/>
> </root>
> </log4j:configuration>
>
> What am I doing wrong?
> Thanks in advance for your help
>
> Ciao
> Giordano Cerizza
Paul Smith
Core Engineering Manager
Aconex
The easy way to save time and money on your project
696 Bourke Street, Melbourne,
VIC 3000, Australia
Tel: +61 3 9240 0200 Fax: +61 3 9240 0299
Email: [EMAIL PROTECTED] www.aconex.com
This email and any attachments are intended solely for the addressee.
The contents may be privileged, confidential and/or subject to
copyright or other applicable law. No confidentiality or privilege is
lost by an erroneous transmission. If you have received this e-mail in
error, please let us know by reply e-mail and delete or destroy this
mail and all copies. If you are not the intended recipient of this
message you must not disseminate, copy or take any action in reliance
on it. The sender takes no responsibility for the effect of this
message upon the recipient's computer system.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]