summaryrefslogtreecommitdiff
path: root/config/defaults.inc.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-01-16 09:02:02 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-01-16 09:02:02 +0100
commit3786a48aeb27b0ee54694103e0c19808a62ff5e0 (patch)
tree834603a139096741e34ba0aa4d43a3d7fbd70288 /config/defaults.inc.php
parentc5f63527101bb20f4c11377f09b53bd406a72714 (diff)
* New option that write logs to per-user directories. (Debug) logs will only be written if a directory for the current user exists.
* The 'write_log' plugin hook now also supports the return property 'dir' to let plugins specify the log directory.
Diffstat (limited to 'config/defaults.inc.php')
-rw-r--r--config/defaults.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index b4c0206ca..b1e3bc85e 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -73,6 +73,10 @@ $config['syslog_id'] = 'roundcube';
// For possible values see installer or http://php.net/manual/en/function.openlog.php
$config['syslog_facility'] = LOG_USER;
+// Activate this option if logs should be written to per-user directories.
+// Data will only be logged if a directry <log_dir>/<username>/ exists and is writable.
+$config['per_user_logging'] = false;
+
// Log sent messages to <log_dir>/sendmail or to syslog
$config['smtp_log'] = true;