summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas <tb@woodcrest.local>2013-11-01 11:55:31 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-11-01 12:46:07 (GMT)
commit0a8caed68666a824b5b8ccf2e1869d2dc53222d4 (patch)
tree7950ef667b0a77637b5ad3a71a10ecf27b30537e /config
parent7fd21807c61e345f67f798760fe02821d0db19db (diff)
downloadiRony-0a8caed68666a824b5b8ccf2e1869d2dc53222d4.tar.gz
Better logging facilities to enable per-user debug log (#2462)
Diffstat (limited to 'config')
-rw-r--r--config/dav.inc.php.sample17
1 files changed, 10 insertions, 7 deletions
diff --git a/config/dav.inc.php.sample b/config/dav.inc.php.sample
index d8dd7fe..623f7b4 100644
--- a/config/dav.inc.php.sample
+++ b/config/dav.inc.php.sample
@@ -22,24 +22,27 @@
+-------------------------------------------------------------------------+
*/
-$rcmail_config = array();
+$config = array();
// Log DAV requests to <log_dir>/davdebug
-$rcmail_config['base_uri'] = null;
+$config['base_uri'] = null;
// User agent string written to kolab storage MIME messages
-$rcmail_config['useragent'] = 'Kolab DAV Server libkolab/' . RCUBE_VERSION;
+$config['useragent'] = 'Kolab DAV Server libkolab/' . RCUBE_VERSION;
// Roundcube plugins. Not all are supported here.
-$rcmail_config['kolabdav_plugins'] = array('kolab_auth');
+$config['kolabdav_plugins'] = array('kolab_auth');
// Type of Auth cache. Supported values: 'db', 'apc' and 'memcache'.
// Note: This is only for username canonification map.
-$rcmail_config['kolabdav_auth_cache'] = 'apc';
+$config['kolabdav_auth_cache'] = 'apc';
// lifetime of the Auth cache, possible units: s, m, h, d, w
-$rcmail_config['kolabdav_auth_cache_ttl'] = '1h';
+$config['kolabdav_auth_cache_ttl'] = '1h';
// enable debug console showing the internal function calls triggered
// by http requests. This will write log to /var/log/iRony/console
-$rcmail_config['kolab_dav_console'] = false;
+$config['kolabdav_console'] = false;
+
+// enable per-user debugging if /var/log/iRony/<username>/ folder exists
+$config['kolabdav_user_debug'] = false;