diff --git a/logger.php b/logger.php index 1383602..d4cc5fc 100644 --- a/logger.php +++ b/logger.php @@ -297,6 +297,8 @@ class logger } } openlog ($this->syslogPrefix, NULL, $this->syslogFacility); + // Syslog display a #012 when there is a \n : remove it + $message = str_replace ("\n", "", $message); syslog ($priority, $message); }