Logger : Deprectation PHP8.2 : openlog want a valid flag and not null
This commit is contained in:
@@ -437,7 +437,7 @@ class Logger
|
||||
break;
|
||||
}
|
||||
}
|
||||
openlog($this->syslogPrefix, null, $this->syslogFacility);
|
||||
openlog($this->syslogPrefix, LOG_PID, $this->syslogFacility);
|
||||
// Syslog display a #012 when there is a \n : remove it
|
||||
$message = str_replace("\n", "", $message);
|
||||
syslog($priority, $message);
|
||||
|
||||
Reference in New Issue
Block a user