diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-08-12 17:54:27 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-08-13 16:26:18 +0200 |
commit | 2efb9a7d90f0464826cbbc1cc39aa96d485dbf88 (patch) | |
tree | 137d1ec7e60d59d7062c469555fd90eb3eada39a /lib/private/Log | |
parent | fced73aa3779c9c38e2bb845c7496fc23c6f0391 (diff) | |
download | nextcloud-server-2efb9a7d90f0464826cbbc1cc39aa96d485dbf88.tar.gz nextcloud-server-2efb9a7d90f0464826cbbc1cc39aa96d485dbf88.zip |
Make sure SystemConfig class can be injected and syslog_tag is fetched properly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Log')
-rw-r--r-- | lib/private/Log/Syslog.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log/Syslog.php b/lib/private/Log/Syslog.php index b8fba34d62b..fc536fbd7fc 100644 --- a/lib/private/Log/Syslog.php +++ b/lib/private/Log/Syslog.php @@ -40,7 +40,7 @@ class Syslog extends LogDetails implements IWriter { public function __construct(SystemConfig $config) { parent::__construct($config); - openlog($config->getSystemValue('syslog_tag', 'Nextcloud'), LOG_PID | LOG_CONS, LOG_USER); + openlog($config->getValue('syslog_tag', 'Nextcloud'), LOG_PID | LOG_CONS, LOG_USER); } public function __destruct() { |