Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

log4j errors when running JUnit test  RSS feed

Vit Siv
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See for more info.
log4j:ERROR Could not read configuration file [/someDir/]. /someDir/ (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/ is not a valid file location.
SLF4J: Class path contains multiple SLF4J bindings.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!