Bug #77337 [Opn]: Stack trace in log cut off
| From: | olafvdspek at gmail dot com | Date: | Sat, 22 Dec 2018 22:38:38 +0000 |
| Subject: | Bug #77337 [Opn]: Stack trace in log cut off | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-218571@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77337&edit=1
ID: 77337
User updated by: olafvdspek at gmail dot com
Reported by: olafvdspek at gmail dot com
Summary: Stack trace in log cut off
Status: Open
Type: Bug
Package: FPM related
Operating System: Debian
PHP Version: 7.3.0
Block user comment: N
Private report: N
New Comment:
> Log limit for the logged lines which allows to log messages longer than 1024 characters without
> wrapping. Default value: 1024. Available as of PHP 7.3.0.
Does this control truncation or wrapping?
I don't think stack traces should be cut off by default.
Previous Comments:
------------------------------------------------------------------------
[2018-12-22 19:50:38] sjon at hortensius dot net
PHP 7.3 introduced log_limit: http://php.net/manual/en/install.fpm.configuration.php#log-limit
which defaults to 1024 characters
------------------------------------------------------------------------
[2018-12-22 16:27:30] olafvdspek at gmail dot com
Description:
------------
Only 7 lines are shown, is some kind of limit hit?
It's slightly less than 900 characters.
Lighttpd / PHP-FPM
Expected result:
----------------
Full stack trace
Actual result:
--------------
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #0
/srv/strike-team.net/htdocs/phpbb/phpbb/cache/driver/file.php(182):
phpbb\cache\driver\file->_write('data_ext_finder', Array, 1577031659)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #1 [internal function]:
phpbb\cache\driver\file->put('_ext_finder', Array)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #2
/srv/strike-team.net/htdocs/phpbb/phpbb/cache/service.php(96): call_user_func_array(Array, Array)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #3
/srv/strike-team.net/htdocs/phpbb/phpbb/finder.php(542):
phpbb\cache\service->__call('put', Array)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #4
/srv/strike-team.net/htdocs/phpbb/phpbb/finder.php(375): phpbb\finder->find_from_paths(Array,
true, false)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #5
/srv/strike-team.net/htdocs/phpbb/phpbb/finder.php(274): phpbb\finder->find(true, false)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #6
/srv/strike-team.net/htdocs/phpbb/phpbb/module/module_manager.php(123):
phpbb\finder->get_classes(true)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #7
/srv/strike-team.net/htdocs/phpbb/phpbb/install/module/install_data/task/add_modules.php(263):
phpbb\module\module_manager->get_modu...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77337&edit=1