Doc #70194 [NEW]: Configuration 'log_errors_max_len' doesn't affect to function error_log()
| From: | 264716115 at qq dot com | Date: | Wed, 05 Aug 2015 12:13:42 +0000 |
| Subject: | Doc #70194 [NEW]: Configuration 'log_errors_max_len' doesn't affect to function error_log() | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-12577@lists.php.net to get a copy of this message | ||
From: 264716115 at qq dot com
Operating system: All
PHP version: 5.6.11
Package: *Configuration Issues
Bug Type: Documentation Problem
Bug description:Configuration 'log_errors_max_len' doesn't affect to function
error_log()
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
--
Edit bug report at https://bugs.php.net/bug.php?id=70194&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70194&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70194&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70194&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70194&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70194&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70194&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70194&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70194&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70194&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70194&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70194&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70194&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70194&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70194&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70194&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70194&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70194&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70194&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70194&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70194&r=mysqlcfg