The moose likes Other Open Source Projects and the fly likes Log4j.xml doesn't seem to have any effect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j.xml doesn Watch "Log4j.xml doesn New topic

Log4j.xml doesn't seem to have any effect

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 524
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.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19742

Perhaps I didn't read carefully enough, but I don't see where you tell us where you put that file.
I agree. Here's the link:
subject: Log4j.xml doesn't seem to have any effect
jQuery in Action, 3rd edition