aspose file tools*
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j errors when running JUnit test" Watch "log4j errors when running JUnit test" New topic
Author

log4j errors when running JUnit test

Vit Siv
Greenhorn

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j errors when running JUnit test
 
Similar Threads
log4j config file giving FileNotFoundException
Tomcat 5.5.12 and log4J 1.3 Alpha7 -- how configure
Logging
Logging with WSS4j
how to consume a webservice using axis2