Forums Register Login

Log4j.xml doesn't seem to have any effect

+Pie Number of slices to send: Send
Here's my log4j.xml



- I do have apache-log4j-extras-1.2.17.jar on my class path.
- I have also created CATALINA_HOME as system variable on my windows system.

When I start tomcat from MyEclipse, I expect it to create a abc<Date>.log file under tomcat's log folder. But neither I see that file being created not I see any effect of pattern on even on Console log.
+Pie Number of slices to send: Send
Perhaps I didn't read carefully enough, but I don't see where you tell us where you put that file.
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 896 times.
Similar Threads
log4j.xml redirecting hibernate queries to file does not work
log4j Issue
Log4j rolling policy must be declared?
Tomcat log4j dosn't roll files as supposed to
log4j with xml config file
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:00:05.