|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77337 Stack trace in log cut off
Submitted: 2018-12-22 16:27 UTC Modified: 2021-11-28 21:49 UTC
From: olafvdspek at gmail dot com Assigned: bukka (profile)
Status: Closed Package: FPM related
PHP Version: 7.3.0 OS: Debian
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: olafvdspek at gmail dot com
New email:
PHP Version: OS:


 [2018-12-22 16:27 UTC] olafvdspek at gmail dot com
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/ 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/ call_user_func_array(Array, Array)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #3 /srv/ phpbb\cache\service->__call('put', Array)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #4 /srv/ phpbb\finder->find_from_paths(Array, true, false)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #5 /srv/ phpbb\finder->find(true, false)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #6 /srv/ phpbb\finder->get_classes(true)
2018-12-22 17:20:59: (mod_fastcgi.c.425) FastCGI-stderr: #7 /srv/ phpbb\module\module_manager->get_modu...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-22 19:50 UTC] sjon at hortensius dot net
PHP 7.3 introduced log_limit: which defaults to 1024 characters
 [2018-12-22 22:38 UTC] olafvdspek at gmail dot com
> 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.
 [2021-11-28 21:49 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: bukka
 [2021-11-28 21:49 UTC]
Yes it controls truncation and wrapping. Increasing the log_limit value will fix the issue.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 14:01:31 2024 UTC