Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
0e0bd627
Commit
0e0bd627
authored
Oct 25, 2013
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1618178
by manarth: Fixed Remove redundant DEFAULT_SYSLOG_FACILITY definition from Syslog.
parent
3be34dfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
core/modules/syslog/syslog.module
core/modules/syslog/syslog.module
+0
-16
No files found.
core/modules/syslog/syslog.module
View file @
0e0bd627
...
...
@@ -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().
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment