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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to