You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Georgescu, Cristian [IT]" <cr...@citigroup.com> on 2002/07/11 15:53:32 UTC
Docs on property file options?
Is there anywhere in the docs a list of all options (i.e. additivity, ...)
that can appear in the property files that configure the log4j? I can't seem
to find this in the docs...
Cristian Georgescu
Salomon Smith Barney
-----Original Message-----
From: Ebersole, Steven [mailto:steven.ebersole@vignette.com]
Sent: Wednesday, July 10, 2002 3:26 PM
To: Ebersole, Steven; 'Log4J Users List'
Subject: RE: Can't control logging via root - get all msgs despite
setting priority
Sorry, brain-fart, should be:
log4j.rootLogger=ERROR, A1
log4j.logger.myDefinedLogger=DEBUG, A2
log4j.logger.additivity.myDefinedLogger=false
....
********************************************
Steve Ebersole
IT Integration Engineer
Vignette Corporation
512.741.4195
Visit http://www.vignette.com
********************************************
|-----Original Message-----
|From: Ebersole, Steven
|Sent: Wednesday, July 10, 2002 2:24 PM
|To: 'Log4J Users List'
|Subject: RE: Can't control logging via root - get all msgs despite
|setting priority
|
|
|Did you set the additivity flag to false on the second logger?
|
|You should have something like:
|
|
|log4j.rootLogger=ERROR, A1
|
|log4j.myDefinedLogger=DEBUG, A2
|log4j.additivity.myDefinedLogger=false
|
|....
|
|
|
|********************************************
|Steve Ebersole
|IT Integration Engineer
|Vignette Corporation
|512.741.4195
|
|Visit http://www.vignette.com
|
|********************************************
|
|
||-----Original Message-----
||From: Adam Hardy [mailto:junk@cyberspaceroad.com]
||Sent: Wednesday, July 10, 2002 2:19 PM
||To: Log4J Users List
||Subject: Re: Can't control logging via root - get all msgs despite
||setting priority
||
||
||Hi All,
||I've configured the root logger to put all errors & fatals in
||a log file.
||
||My problem comes when I configure a second logger. My second logger
||passes all debug & above to the console. However as soon as I
||configure
||this second logger, the root logger also sends all debug &
||above to the
||file.
||
||I can't figure out how to stop this. Can anyone help?
||
||
||Thanks
||Adam
||
||
||--
||To unsubscribe, e-mail:
||<ma...@jakarta.apache.org>
||For
||additional commands, e-mail:
||<ma...@jakarta.apache.org>
||
|
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>