Skip to content
Snippets Groups Projects
Commit b5db9e40 authored by Olav Morken's avatar Olav Morken
Browse files

Fix logging.facility usage of LOG_LOCAL5 in default configuration.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@719 44740490-163a-0410-bde0-09ae8108e29a
parent e062cae7
No related branches found
No related tags found
No related merge requests found
......@@ -90,10 +90,20 @@ $config = array (
'logging.level' => LOG_NOTICE,
'logging.handler' => 'syslog',
'logging.processname' => 'simpleSAMLphp',
/* Logging: syslog - Choose a syslog facility to use for logging.
/*
* Choose which facility should be used when logging with syslog.
*
* These can be used for filtering the syslog output from simpleSAMLphp into its
* own file by configuring the syslog daemon.
*
* See the documentation for openlog (http://php.net/manual/en/function.openlog.php) for available
* facilities. Note that only LOG_USER is valid on windows.
*
* The default is to use LOG_LOCAL5 if available, and fall back to LOG_USER if not.
*/
'logging.facility' => LOG_LOCAL5,
'logging.facility' => (constant('LOG_LOCAL5') !== NULL) ? constant('LOG_LOCAL5') : LOG_USER,
/* Logging: file - Logfilename in the loggingdir from above.
*/
'logging.logfile' => 'simplesamlphp.log',
......
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