Skip to content

Commit

Permalink
Revert "Log each line of a multiline log message separatly"
Browse files Browse the repository at this point in the history
This reverts commit 39042ab.
  • Loading branch information
Al2Klimov committed Apr 24, 2015
1 parent 39042ab commit a429617
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/Icinga/Application/Logger.php
Expand Up @@ -199,9 +199,7 @@ public function log($level, $message)
$this->writer->log(static::ERROR, $error_message);
}

foreach (explode("\n", $message) as $msg) {
$this->writer->log($level, $msg);
}
$this->writer->log($level, $message);
}
}

Expand Down

0 comments on commit a429617

Please sign in to comment.