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

Issue #1368872 by agentrickard, oriol_e9g: Clean up API docs for syslog.

parent 2d420a69
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -6,6 +6,15 @@ ...@@ -6,6 +6,15 @@
*/ */
if (defined('LOG_LOCAL0')) { 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); define('DEFAULT_SYSLOG_FACILITY', LOG_LOCAL0);
} }
else { else {
......
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