We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monolog version 3
Is it possible to truncate all messages to not exceed a length of say 5000, or 10000 characters?
I see that in Monolog version 3, messages are immutable so the following does NOT work.
$record['message'] = substr($record['message'], 0, 5000);
I tried something like
$record->withMessage(substr($record['message'],0, 5000));
as well, but I ran into a strange error running compose install in the pipeline that seems to be related to this change that I don't quite understand.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Monolog version 3
Is it possible to truncate all messages to not exceed a length of say 5000, or 10000 characters?
I see that in Monolog version 3, messages are immutable so the following does NOT work.
I tried something like
as well, but I ran into a strange error running compose install in the pipeline that seems to be related to this change that I don't quite understand.
The text was updated successfully, but these errors were encountered: