Commit 6c6928be by Vladimir

change default facility of SyslogTarget

LOG_SYSLOG - messages generated internally by syslogd. As we know PHP is not a part of syslogd therefore we should use LOG_USER. (additionaly LOG_USER is the only valid log type under Windows operating systems)
parent f66e28c4
......@@ -26,7 +26,7 @@ class SyslogTarget extends Target
/**
* @var integer syslog facility.
*/
public $facility = LOG_SYSLOG;
public $facility = LOG_USER;
/**
* @var array syslog levels
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment