Home > Backend Development > PHP Tutorial > 请问使用log4php日志记录日期报错

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

WBOY
Release: 2016-06-23 14:01:10
Original
891 people have browsed it

配置如下:


报错:


说明:
测试多次发现,只要配置了%date格式化日志就报错,请问有没有人遇到过?log4php是2.3.0的,php是5.5的


回复讨论(解决方案)

看问题。应该是时区的问题。
改date_default_timezone_set
或者降低php.ini的报错级别。

你在哪下的 log4php 2.3.0 
我怎么没找到?

你在哪下的 log4php 2.3.0 
我怎么没找到?



最新版的就是了:
http://logging.apache.org/log4php/download.html

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