-
1. Re: Logging Configuration
jaysensharma Aug 18, 2012 12:21 PM (in response to rsmith1)This might help:
https://issues.jboss.org/browse/AS7-514
-Dorg.jboss.as.logging.per-deployment=false
and
-
2. Re: Logging Configuration
jamezp Aug 21, 2012 11:28 AM (in response to rsmith1)You do it the same way you did the others. Just define a logger with the category com.mycompany.common and add the handler to it.
--
James R. Perkins
-
3. Re: Logging Configuration
rsmith1 Nov 1, 2012 10:42 AM (in response to rsmith1)James,
It doesn't seem you understood the post.
Obviously, creating a category and handler for common will allow common to be logged. The question is 'How do I direct common logging to specifc application logs?' In the scenario I'm describing, common is a library that exists in multiple applications.
With standard application logging using log4j, it's easy to direct everything to your application log because each application has its own configuration.
What I would like to be able to do is direct my common logging to the application log for the application it is being called from.