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

WBOY
Release: 2016-06-13 11:50:24
Original
886 people have browsed it

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


报错:


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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template