[Pkg-owncloud-commits] [owncloud] 13/27: Expose syslog tag in the configuration

David Prévot taffit at moszumanska.debian.org
Wed Oct 28 17:03:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.1.4RC2
in repository owncloud.

commit 49879b868beb0e50f14d1a85047bd3dab2c85de3
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 863d1d6..e2d5a28 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