Click to See Complete Forum and Search --> : Log4j logs in desired location...


javasweeper
10-27-2006, 11:15 AM
Hi,
I have an application which uses log4j. I am mentioning the path for log file in my log4j.properties. Now we have different instances (WAS 6.0) on the same server and when I generate the logs, all of them are clubbed in to same log file.
So, I had to explicitely go in the ear file and change the log file path and then re build and deploy the ear file for each instance.
Is there any way I can separate them out without changing the log4j.properties for each instance deployment.
Thanks in advance.