This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Locating Log4j.properties in Eclipse 3.2? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Locating Log4j.properties in Eclipse 3.2?" Watch "Locating Log4j.properties in Eclipse 3.2?" New topic
Author

Locating Log4j.properties in Eclipse 3.2?

Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
Hello there,

I created a lib dir in my project and placed the log4j.jar there...

Under my src dir, I placed my log4j.properties file and when I run my app, I get the following runtime errors in Eclipse's Console:



This is my program:



Question(s):

1. How do I set up Eclipse to locate my log4j.properties file?

I found this URL, but it seems outdated for Eclipse 3.2?

2. Is there a good plug-in for Eclipse that everybody uses that helps with Log4j?

3. I thought there was built-in support for log4j in Eclipse (kind of like how JUnit comes built-in with Eclipse)?

Happy programming,
[ June 02, 2007: Message edited by: Unnsse Khan ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Locating Log4j.properties in Eclipse 3.2?
 
Similar Threads
log4j:WARN No appenders could be found for logger (LogClass)
Can't find logj4.properties using netbeans, hibernate and glassfish
how to configure apache log4j for gwt application
Problem configuring Hibernate and JPA in Eclipse
Using log4j in ServletContextListener