php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70194 Configuration 'log_errors_max_len' doesn't affect to function error_log()
Submitted: 2015-08-05 12:13 UTC Modified: 2015-08-05 14:10 UTC
From: 264716115 at qq dot com Assigned: cmb (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 5.6.11 OS: All
Private report: No CVE-ID: None
 [2015-08-05 12:13 UTC] 264716115 at qq dot com
Description:
------------
I use function error_log to log some custom error,but the configuration log_error_max_len doesn't affect

Test script:
---------------
<?php
	echo ini_get('log_errors_max_len'); //1024
	$a = str_repeat('a', 2000);
	error_log($a);

//log successed 

Expected result:
----------------
maybe change the documentation

http://php.net/manual/en/errorfunc.configuration.php#ini.log-errors-max-len


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-05 14:06 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2015-08-05 14:10 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=337293
Log: documented that log_errors_max_len does not apply to error_log() (fixes #70194)
 [2015-08-05 14:10 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2015-08-05 14:10 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC