Hi,
I do have a problem. We do have 3 application deployed on a
JBoss server. All the logs are going to server.log.
Now, I would like to configure application specific logs for each application.
Example:
Application1 - Application1.log
Application2 - Application2.log
Application3 - Application3A.log (only for the packages com.myexample.action)
Application3 - Application3C.log (only for the packages com.myexample.common)
Please help me to setup the Log4j.properties.
Also, All the logs coming on Root log file also. I would like to avoid that too. Application logs should come only on application*.log. How to control it?
Apart from this 1 question:
If the log4j has been confired on log4j.properties (Inside war) and log4j.xml (JBoss one), then which configuration would be taken by log4j?