Log4j: ERROR Failed to rename [/log/xxx. log] to [/log/xxx. log.2016-11-23.log], log4jxxx. log
Log4j error:
Log4j: ERROR Failed to rename [/log/xxx. log] to [/log/xxx. log.2016-11-23.log]
Google found a bug:
Https://bz.apache.org/bugzilla/show_bug.cgi? Id = 29726
I checked myself, and found it was solved only in 1.3 for DRFA. for PGA, it has been solved in 1.2.15 too (see bug 41735 ). on another hand, now 1.3 has been abandoned. but itso. a. l. rolling. rollingFileAppender, that solved the problem, is available in companions/extras, which release 1.0 hasbeen recently released. please note that, though PGA and DRFA are deprecated in favoror o. a. l. rolling. RFID in 1.3, they are not deprecated in 1.2.15.
Solution: Upgrade log4j from 1.2.14 to 1.2.15.
I found that another project uses 1.2.17. If this problem is not found, the bug should be fixed after 1.2.15.