Commit 62077099 authored by catch's avatar catch

Issue #2876740 by c.nish2k3, gaurav.kapoor, dagmar, alexpott: Cleanup Logger\SysLog constructor

parent 5f2428ee
......@@ -53,9 +53,6 @@ public function __construct(ConfigFactoryInterface $config_factory, LogMessagePa
protected function openConnection() {
if (!$this->connectionOpened) {
$facility = $this->config->get('facility');
if ($facility === '') {
$facility = defined('LOG_LOCAL0') ? LOG_LOCAL0 : LOG_USER;
}
$this->connectionOpened = openlog($this->config->get('identity'), LOG_NDELAY, $facility);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment