diff options
Diffstat (limited to 'lib/private/log/syslog.php')
-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 cc4c5a29c39..7a638c36a77 100644 --- a/lib/private/log/syslog.php +++ b/lib/private/log/syslog.php @@ -35,7 +35,7 @@ class OC_Log_Syslog { * Init class data */ public static function init() { - openlog(OC_Config::getValue("syslog_tag", "ownCloud"), LOG_PID | LOG_CONS, LOG_USER); + openlog(\OC::$server->getSystemConfig()->getValue("syslog_tag", "ownCloud"), LOG_PID | LOG_CONS, LOG_USER); // Close at shutdown register_shutdown_function('closelog'); } |