i use eclipse jee Indigo tomcat6 and apache log4j1.2.16
i defined logger in servlet i put the jar in the lib folder and the xml configuration file in src folder
and i want html log in WebContent folder
when i run my web project it do not generate html log file and nothing it changing when i refresh but it display the message in the console
oussama jlassi wrote:and i want html log in WebContent folder
Then you should specify that in the configuration file. The file you posted shows you specified that the HTML log file should be put into the server's current working directory. This is certain to NOT be anything to do with your web application.
Joined: Dec 23, 2011
how then change file path for log4j save it in eclipse workspace\webproject\WebContent