Home  >  Article  >  Backend Development  >  请教使用log4php日志记录日期报错

请教使用log4php日志记录日期报错

WBOY
WBOYOriginal
2016-06-13 11:50:24884browse

请问使用log4php日志记录日期报错
配置如下:


报错:


说明:
测试多次发现,只要配置了%date格式化日志就报错,请问有没有人遇到过?log4php是2.3.0的,php是5.5的
------解决方案--------------------
看问题。应该是时区的问题。
改date_default_timezone_set
或者降低php.ini的报错级别。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn