From 3786a48aeb27b0ee54694103e0c19808a62ff5e0 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Thu, 16 Jan 2014 03:02:02 -0500
Subject: [PATCH] * 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.

---
 config/defaults.inc.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index b4c0206..b1e3bc8 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -73,6 +73,10 @@
 // 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;
 

--
Gitblit v1.9.1