diff --git a/config/autoload/config.global.php b/config/autoload/config.global.php index b1481140b..ee67b7530 100644 --- a/config/autoload/config.global.php +++ b/config/autoload/config.global.php @@ -114,7 +114,15 @@ 'writers' => [ 'full' => [ 'options' => [ - 'stream' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? 'php://stdout' : '/var/log/dvsa/olcs-ssweb/ssweb.log') + 'stream' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? 'php://stdout' : '/var/log/dvsa/olcs-ssweb/ssweb.log'), + 'filters' => [ + 'priority' => [ + 'name' => 'priority', + 'options' => [ + 'priority' => \Laminas\Log\Logger::WARN + ] + ], + ] ], ] ] @@ -123,7 +131,15 @@ 'writers' => [ 'full' => [ 'options' => [ - 'stream' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? 'php://stderr' : '/var/log/dvsa/olcs-ssweb/ssweb.log') + 'stream' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? 'php://stderr' : '/var/log/dvsa/olcs-ssweb/ssweb.log'), + 'filters' => [ + 'priority' => [ + 'name' => 'priority', + 'options' => [ + 'priority' => \Laminas\Log\Logger::WARN + ] + ], + ] ], ] ]