diff options
author | Volker Fröhlich <volker27@gmx.at> | 2014-10-17 15:37:35 +0400 |
---|---|---|
committer | Steffen Lindner <mail@steffen-lindner.de> | 2015-10-23 15:16:49 +0300 |
commit | 49879b868beb0e50f14d1a85047bd3dab2c85de3 (patch) | |
tree | b21e587b4617def2dde755726a9648500df25002 | |
parent | 5e8f0a893d33fe35c0a41a97142533ef67e50dc5 (diff) |
Expose syslog tag in the configuration
-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 863d1d6c201..e2d5a28db14 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'); } |