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