Closed wouter-vs closed 1 year ago
You need to use action_level
, not level
:
adsolut:
type: fingers_crossed
- level: error
+ action_level: error
handler: adsolut_file_log
channels: ['adsolut']
buffer_size: 50
I use the 'fingers_crossed' type in combination with the 'error' as level but still all the logs are dumped the moment a warning is added.
$this->logger->warning("Message")
I would only expect this to happen when an error is set. when I remove the line it works perfect, there are also a number of info messages logged but they don't show up in the logs anymore.
I have the following configuration in my project:
Am I doing something wrong?