I am using the normal java.util.logging to log . Is it possible to redirect each applications log to a different file?
Example :
Application.war 's log entries to Application.log
Application2.war 's log entries to Application2.log
and so on ,
Not a logging expert , or would it better to just filter the ones corresponding to the app and try to automate it with script – just a thought ?
opted for log4j , went through its doc and found out that i can configure in the log4j.xml to redirect each apps to a different file as required (and to sysout so that i can see in RAD)
Doesn’t seem possible with simple java.util.logging , but can’t verify it