diff --git a/library/Icinga/Application/Logger.php b/library/Icinga/Application/Logger.php index 61d5f4329..925695dad 100644 --- a/library/Icinga/Application/Logger.php +++ b/library/Icinga/Application/Logger.php @@ -199,9 +199,7 @@ class Logger $this->writer->log(static::ERROR, $error_message); } - foreach (explode("\n", $message) as $msg) { - $this->writer->log($level, $msg); - } + $this->writer->log($level, $message); } }