php错误日志模板

时间:2015-12-22 08:06:15

标签: php nginx error-handling

我已将错误日志配置为开,我已设置错误文件日志的路径。错误正在节省。问题是我对这个消息有一种奇怪的怀疑:

2015/12/22 00:35:38 [error] 12152#0: *57 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined offset: 3 in /var/www/movie/application/modules/frontend/controllers/IndexController.php on line 11" while reading response header from upstream, client: 84.38.16.66, server: xxxx.yy, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxxx.yy", referrer: "xxxx.yy"

我想让它更简单:

 PHP Notice:  Undefined offset: 3 in /var/www/movie/application/modules/frontend/controllers/IndexController.php

有什么想法吗?

0 个答案:

没有答案