wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes log4j errors when running JUnit test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j errors when running JUnit test" Watch "log4j errors when running JUnit test" New topic

log4j errors when running JUnit test

Vit Siv

Joined: Feb 21, 2012
Posts: 2
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
log4j:ERROR Could not read configuration file [/someDir/log4j.properties].
java.io.FileNotFoundException: /someDir/log4j.properties (No such file or directory)

The file is def there and has this in it:

Anything wrong with this?

Some other warnings there:
SEVERE: /someDir/server.properties is not a valid file location.
SLF4J: Class path contains multiple SLF4J bindings.
Consider Paul's rocket mass heater.
subject: log4j errors when running JUnit test
Similar Threads
Tomcat 5.5.12 and log4J 1.3 Alpha7 -- how configure
how to consume a webservice using axis2
log4j config file giving FileNotFoundException
Logging with WSS4j