summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Fröhlich <volker27@gmx.at>2014-10-17 13:37:35 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-22 17:42:55 +0200
commit711e1235ea893453c7135e923b9d75016d7c837c (patch)
tree90c8af8a7d5ad144c53050de415ef6e1e885952a
parent844c607a9a4e61caa324ecc16e8d6655b13bde31 (diff)
downloadnextcloud-server-711e1235ea893453c7135e923b9d75016d7c837c.tar.gz
nextcloud-server-711e1235ea893453c7135e923b9d75016d7c837c.zip
Expose syslog tag in the configuration
-rw-r--r--lib/private/log/syslog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/log/syslog.php b/lib/private/log/syslog.php
index cb42c1dc011..71debaffd33 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');
}