diff --git a/core/modules/syslog/src/Logger/SysLog.php b/core/modules/syslog/src/Logger/SysLog.php index c2b73dee3d0af63595013903f3c281140ee5460d..308060aa1807917e73dce367d6212ffbaa8e6491 100644 --- a/core/modules/syslog/src/Logger/SysLog.php +++ b/core/modules/syslog/src/Logger/SysLog.php @@ -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); } }