Register / Login
Other Open Source Projects
log4j: configuring category limits within same classpath?
posted 5 years ago
I was expecting to find readily available examples of this, but what I'd like to do is have a sub location of a package set to one log level while setting the rest to another... e.g.,
<!-- ================ --> <!-- Limit categories --> <!-- ================ --> <category name="com.foobar.meat.potatoes" additivity="false"> <priority value="DEBUG"/> </category> <category name="com.foobar"> <priority value="ERROR"/> </category>
but it would appear that he 2nd rule trumps the first. Is there syntax that will allow me to apply this properly?
[SCBCD in process]
log4j: DEBUG for one package only...
How to filter out application specific log from server.log
How to show hibernate sql parameter values, instead of ?,?
Cannot seem to set JK2 LogLevel in Integrated Tomcat
Unable stop JBOSS running in DEBUG mode