From e69321dff60490125f336bce0c0e6dda5a5db972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 30 Oct 2007 09:46:58 +0000 Subject: [PATCH] adding configuration for logging git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@61 44740490-163a-0410-bde0-09ae8108e29a --- config/config-template.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config/config-template.php b/config/config-template.php index 7c6212fd3..b9c8eb841 100644 --- a/config/config-template.php +++ b/config/config-template.php @@ -24,6 +24,20 @@ $config = array ( */ 'debug' => false, + /* + * Logging. + * + * Choose a syslog facility to use for logging. + * And define the minimum log level to log + * LOG_ERR No statistics, only errors + * LOG_WARNING No statistics, only warnings/errors + * LOG_NOTICE Statistics and errors + * LOG_INFO Verbose logs + * LOG_DEBUG Full debug logs - not reccomended for production + */ + 'logging.facility' => LOG_LOCAL5, + 'logging.level' => LOG_NOTICE, + /* * This value is the duration of the session in seconds. Make sure that the time duration of * cookies both at the SP and the IdP exceeds this duration. -- GitLab