wood burning stoves 2.0*
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
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Locating Log4j.properties in Eclipse 3.2?
 
Similar Threads
Using log4j in ServletContextListener
log4j:WARN No appenders could be found for logger (LogClass)
Problem configuring Hibernate and JPA in Eclipse
how to configure apache log4j for gwt application
Can't find logj4.properties using netbeans, hibernate and glassfish