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 ah...@laposte.fr on 2003/12/02 09:31:06 UTC

additivity trouble

Hello everybody,

I'm using a root category for all the logs and i want to exclude a class
from these logs, here is my log4j.properties file


log4j.rootCategory=INFO, console

log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p [%t] %40c %x - %m%n

log4j.category.fr.MyClass=INFO, console
log4j.additivity.fr.MyClass=false


This doesn't work.
Can someone help me?
Thanks in advance...


Ahmed ALAMI
SDV (Support Outils Dévellopement NTIC)
Tel : 05 57 75 60 52




JUST GEEK CODE
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM d s+: a C+ UL++ P L++ E++ W++ N++ o K- w
O M- V- PS++ PE+ Y+ PGP+ t 5 X R tv+ b+++ DI+ D
G++ e+++ h+ r++ x+
------END GEEK CODE BLOCK------
-----BEGIN JAVA GEEK CODE BLOCK-----
Version: 0.01b
Epvbdemon+++(++++)@$*
------END JAVA GEEK CODE BLOCK------