Skip to content
Snippets Groups Projects
Commit 0e0bd627 authored by catch's avatar catch
Browse files

Issue #1618178 by manarth: Fixed Remove redundant DEFAULT_SYSLOG_FACILITY definition from Syslog.

parent 3be34dfd
No related branches found
No related tags found
No related merge requests found
......@@ -5,22 +5,6 @@
* Redirects logging messages to syslog.
*/
if (defined('LOG_LOCAL0')) {
/**
* Sets the proper logging facility.
*
* Note that LOG_LOCAL0 through LOG_LOCAL7 are not available on Windows, so we
* check for availability. If LOG_LOCAL0 is defined by the PHP environment, we
* set that as the default; if not, we use LOG_USER.
*
* @see http://php.net/manual/function.syslog.php
*/
define('DEFAULT_SYSLOG_FACILITY', LOG_LOCAL0);
}
else {
define('DEFAULT_SYSLOG_FACILITY', LOG_USER);
}
/**
* Implements hook_help().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment