This content has been marked as final.
Show 3 replies
-
1. Re: Jboss 3.0.0 and Log4j #2
adrian.brock Jul 12, 2002 8:50 AM (in response to javaguy)
<appender-ref ref="fappender2" />
<appender-ref ref="console"/>
<appender-ref ref="fappender"/>
You might also want
<category name="my.package" addivity="false>
to stop my.package logging through
Regards,
Adrian -
2. Re: Jboss 3.0.0 and Log4j #2
javaguy Jul 12, 2002 6:16 PM (in response to javaguy)Adrian,
Thanks for the reply. Everything worked except for the "additivity" which is "additive" but I am not sure the exact syntax to put it in. With your help, all my.package are going to the second appender and not the root one anymore. Of course with the additivity defaulted to "true" at the beginning, it also goes to the root logger or the fappender1.
Thanks
JG -
3. Re: Jboss 3.0.0 and Log4j #2
javaguy Jul 14, 2002 8:32 PM (in response to javaguy)Adrian,
You can throw a few bytes and bits at me but the additivity flag for the <category ...> finally works. Thanks for you help... :-)
Thank You Very Much!
JG