log4j to log to different files for each JVM instance

2010-12-29 Thread lalpop kumar
how can I configure log4j to log to different files for each JVM instance in the same host?

Re: set the placeholder in the log4j.properties file

2010-12-29 Thread Jacob Kjome
Log4j will attempt to auto-configure itself by looking for "log4j.xml" and then "log4j.properties" in the root of the claspath upon the first call to getLogger(). And yes, this may very well be before your init servlet runs. Note that the new configuration (done manually in the init servlet) wi