Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com Jul 16 '12 at 2:13

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

1 Answer 1

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.