This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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: 507
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: 18570

Perhaps I didn't read carefully enough, but I don't see where you tell us where you put that file.
GeeCON Prague 2014
subject: Log4j.xml doesn't seem to have any effect