Expose syslog tag in the configuration

This commit is contained in:
Volker Fröhlich 2014-10-17 13:37:35 +02:00 committed by Thomas Müller
parent 844c607a9a
commit 711e1235ea
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}