This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Bsic steps to add log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Bsic steps to add log4j" Watch "Bsic steps to add log4j" New topic
Author

Bsic steps to add log4j

FY Hsieh
Ranch Hand

Joined: Aug 07, 2006
Posts: 73
I use myeclipse to create enterprise project including ejb project, web project and other java project. Now I need to add log4j to my application. Can someone tell me the basic steps I need to follow to add (for example, where should I put log4j.properties, etc) ?

Thanks.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Put log4j.properties at the root of the classpath.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bsic steps to add log4j
 
Similar Threads
Third party libraries and WSAD 5.1.0
Log4j and WSAD 5.0
where will be the log4j class in java
log4j and Websphere 6.1
How can i add Log4j suppourt to my Application