From 711e1235ea893453c7135e923b9d75016d7c837c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volker=20Fr=C3=B6hlich?= Date: Fri, 17 Oct 2014 13:37:35 +0200 Subject: [PATCH] Expose syslog tag in the configuration --- lib/private/log/syslog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/log/syslog.php b/lib/private/log/syslog.php index cb42c1dc01..71debaffd3 100644 --- a/lib/private/log/syslog.php +++ b/lib/private/log/syslog.php @@ -34,7 +34,7 @@ class OC_Log_Syslog { * Init class data */ public static function init() { - openlog('ownCloud', LOG_PID | LOG_CONS, LOG_USER); + openlog(OC_Config::getValue("syslog_tag", "ownCloud"), LOG_PID | LOG_CONS, LOG_USER); // Close at shutdown register_shutdown_function('closelog'); }