Closed
Description
The latest stable symfony/monolog-bridge
v3.3.9
does not work with %env(...)%
properly:
It throws
Warning: constant(): Couldn't find constant Monolog\Logger::ENV_FOO_E6B45FD60EEE44A71EEAF8C53561891E
for the following config:
'main' => [
'type' => 'stream',
'path' => '%kernel.logs_dir%/%kernel.environment%.log'
65AA
,
'level' => '%env(FOO)%',
'channels' => ['!event'],
],