log_errors_max_len = 1024 in php.ini, but php log keeps growing

后端 未结 3 1035
小鲜肉
小鲜肉 2020-12-20 14:05

As the title says, I\'ve set the max length for the php error log, but it seems to keep growing much much larger than 1024. I am using the correct php.ini, I\'ve restarted

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-20 14:50

    Verified Pascal's initial thought:

    log_errors_max_len integer

    Set the maximum length of log_errors in bytes. In error_log information about the source is added. The default is 1024 and 0 allows to not apply any maximum length at all. This length is applied to logged errors, displayed errors and also to $php_errormsg. When an integer is used, the value is measured in bytes. Shorthand notation, as described in this FAQ, may also be used.

提交回复
热议问题