Needs review
Project:
log_stdout
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2026 at 16:28 UTC
Updated:
11 Jun 2026 at 17:20 UTC
Jump to comment: Most recent
Version 3.0 added a configurable minimum severity level, but did not add an update hook to set the default value so nothing would be logged as $this->config->get('severity_level') is NULL:
if ($level > $this->config->get('severity_level')) {
// Severity level is above the ones we want to log.
return;
}
Install v 8.x-1.5 then update to 3.0.0
Add update hook to set the severity_level config to 3, as per the /config/install/log_stdout.settings.yml file.
None.
None.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
smazComment #4
liam morlandThanks for the patch. It would be safer if it would give the default behavior when the value is null. It could become null by someone deleting the config. That should return it to the default.