logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: How to stop further processing?
Date Fri, 03 Aug 2007 18:42:39 GMT
Yes.  You need to set "additivity" to false for some.class.tree.  I am
not sure how to do that in a properties file.

On 8/3/07, Daniel Henninger <jadestorm@nc.rr.com> wrote:
> Hi folk!
>
> I'm trying to switch my project to log4j and am running into an issue
> where... ok here's what I've done (conceptually)
>
> log4j.appender.myappender is set to ....MyAppender
> log4j.appender.myappender2 is set to ....MyAppender2
> log4j.rootLogger is set to myappender
> log4j.logger.some.class.tree is set to myappender2
>
> When something in some.class.tree logs, the log entry goes to both
> MyAppender2 and MyAppender.  What I'm really after is for MyAppender2
> to 'override' the root logger for that particular tree.  Is there
> something obvious I'm missing?  Is this not possible?  Any
> suggestions?  Thanks!!
>
> Daniel
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message