Suddenly this keeps happening during a JUnit test. Everything was working, I wrote some new tests and this error occured. If I revert it, it won\'t go away. Why is that?
If you don't want to bother with a file, you can do something like this in your code:
static { Logger rootLogger = Logger.getRootLogger(); rootLogger.setLevel(Level.INFO); rootLogger.addAppender(new ConsoleAppender( new PatternLayout("%-6r [%p] %c - %m%n"))); }