Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have migrated from Jboss 4 to Jboss 7. In Jboss 4 we used log4j.xml and have added 'additivity' property to child loggers so that the log messages do not propogate to its parents, but I do not know how to add the same in Jboss 7 logger. Can anyone please help.

The requirement is to not propogate the messages from a child logger to its parent.

share|improve this question

migrated from Jul 16 '12 at 2:13

This question came from our site for professional and enthusiast programmers.

You need to set the use-parent-handlers attribute on the logger to false.

<logger category="org.jboss" use-parent-handlers="false" />

(tried it on AS 7.1.2)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.