This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Basically, I have one Tomcat web server running 3 web apps. I'd like to log each app to different 3 log files. For example,
App1 to /pkg/logs/app1/App1.log App2 to /pkg/logs/app2/App2.log App3 to /pkg/logs/app3/App3.log
I'd tried to setup the log4j.properties file, but failed.
============================================ The log4j.properties file I designed is the following. The problem is that although I seperated the logging tasks, both test1 and test2 logging the same info; that is, I put
"test1" and "test2" are records by both test1.log and test2.log files.