Try log4j.additivity.com.myname.cog.y.z=false ----- Original Message ----- > I am facing another problem with Log4j. I am geting duplicate entries in > my log appender (in this case the console). > Basically I defined two appenders for two categories in order to get two > different formats of log. But I find that the log for the > root category comes along with the one for a child category. I believe it > has something to do with the additive variable in the > Category class. How do we tackle this situation from the property file that > I have described below. > > The property file is as below. > > # Set root category priority to DEBUG and its only appender to A1. > log4j.rootCategory=DEBUG, A1 > log4j.category.com.myname.cog.y.z=DEBUG, VOA
... -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>