[Pkg-owncloud-commits] [owncloud] 86/129: Expose syslog tag in the configuration
David Prévot
taffit at moszumanska.debian.org
Thu Nov 5 01:04:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit a2be470dcefa4eac54d02f08f9d6559974719fdf
Author: Volker Fröhlich <volker27 at gmx.at>
Date: Fri Oct 17 13:37:35 2014 +0200
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 cb42c1d..71debaf 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');
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list