![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
log4j
学渣之路
小小学渣一枚
展开
-
Mycat启动时日志报log4j:ERROR setFile(null,false) call failed.
INFO | jvm 1 | 2016/06/20 23:00:27 | log4j:ERROR setFile(null,false) call failed.INFO | jvm 1 | 2016/06/20 23:00:27 | java.io.FileNotFoundException: ./logs/mycat.log (Permission denied)INFO原创 2016-06-22 09:46:24 · 2937 阅读 · 0 评论 -
No appenders could be found for logger
把日志文件从log4j升级到log4j2时出现了这个错误,这里记录其中的俩种可能解决办法。错误如下log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).log4j:WARN Please initialize the log4j system原创 2017-08-09 13:39:04 · 36113 阅读 · 2 评论