java - Log4j for different tomcat workers -


i want configure log4j different tomcat workers. mean, want separate log file each worker. how can achieve it?

there doesn't seem standard implementation this. have 1 @ company work for, that's confidential. however, it's pretty easy achieve:

extend org.apache.log4j.appenderskeleton , use threadlocal of appenders delegate to


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -