wood burning stoves 2.0*
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
Author

Log4j.xml doesn't seem to have any effect

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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: http://aspose.com/file-tools
 
subject: Log4j.xml doesn't seem to have any effect
 
Similar Threads
log4j Issue
struts 2 and log4j
log4j - creating my own file
log4j with xml config file
Where are my log4j logs getting written to?