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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 264716115 at qq dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 08:01:28 2024 UTC