diff --git a/src/Monolog/Handler/ProcessLogHandler.php b/src/Monolog/Handler/ProcessLogHandler.php index 3384ce6..81b82db 100644 --- a/src/Monolog/Handler/ProcessLogHandler.php +++ b/src/Monolog/Handler/ProcessLogHandler.php @@ -34,6 +34,11 @@ protected function write(array $record): void if (null === $logFilename = ($this->logFilenames[$this->currentProcessCode] ?? null)) { return; } + + if ($record['level'] < Logger::INFO) { + return; + } + if (null === $this->filesystem) { $this->filesystem = new Filesystem( new LocalFilesystemAdapter($this->logDir, null, \FILE_APPEND)