Expose syslog tag in the configuration
This commit is contained in:
parent
844c607a9a
commit
711e1235ea
|
@ -34,7 +34,7 @@ class OC_Log_Syslog {
|
||||||
* Init class data
|
* Init class data
|
||||||
*/
|
*/
|
||||||
public static function init() {
|
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
|
// Close at shutdown
|
||||||
register_shutdown_function('closelog');
|
register_shutdown_function('closelog');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue