Originally posted by Andreas Groscurth: otherwise without the filter - how does jboss know only to logg when my application is used. Without the filter it logs everything ?!
I do it this way:
Note that i have removed the App1Log appender reference from the root. Also i have introduced a category element which says that anything logged from org.myApp (which is the package hierarchy of your application) package (and its sub-packages) classes will be directed to the App1Log appender which points to the app1.log file