Error: “setFile(null,false) call failed” when using log4j
I suspect that the variable ${file.name} is not substituted correctly. As a result, the value of log4j.appender.FILE.File becomes logs/. As such, Java tries to create a log file named logs/, but probably it is an existing directory, so you get the exception. As a quick remedy, change the log4j.appender.FILE.File setting to point to file by … Read more