diff --git a/CHANGELOG b/CHANGELOG
index 934b0ee9a..0b1c4ba54 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,11 @@
CHANGELOG RoundCube Webmail
---------------------------
+2008/08/27 (alec)
+----------
+- Added options to use syslog instead of log file (#1484850)
+- Added Logging & Debugging section in Installer
+
2008/08/26 (alec)
----------
- Removed support for PEAR::DB driver
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 5f61b9fe7..f79232a3e 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -18,6 +18,23 @@ $rcmail_config = array();
// system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
$rcmail_config['debug_level'] = 1;
+// log driver: 'syslog' or 'file'.
+$rcmail_config['log_driver'] = 'file';
+
+// Syslog ident string to use, if using the 'syslog' log driver.
+$rcmail_config['syslog_id'] = 'roundcube';
+
+// Syslog facility to use, if using the 'syslog' log driver.
+// For possible values see installer or http://php.net/manual/en/function.openlog.php
+$rcmail_config['syslog_facility'] = LOG_USER;
+
+// use this folder to store log files (must be writebale for apache user)
+// This is used by the 'file' log driver.
+$rcmail_config['log_dir'] = 'logs/';
+
+// use this folder to store temp files (must be writeable for apache user)
+$rcmail_config['temp_dir'] = 'temp/';
+
// enable caching of messages and mailbox data in the local database.
// this is recommended if the IMAP server does not run on the same machine
$rcmail_config['enable_caching'] = TRUE;
@@ -97,12 +114,6 @@ $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size', 'flag');
// includes should be interpreted as PHP files
$rcmail_config['skin_include_php'] = FALSE;
-// use this folder to store temp files (must be writeable for apache user)
-$rcmail_config['temp_dir'] = 'temp/';
-
-// use this folder to store log files (must be writeable for apache user)
-$rcmail_config['log_dir'] = 'logs/';
-
// session lifetime in minutes
$rcmail_config['session_lifetime'] = 10;
diff --git a/installer/check.php b/installer/check.php
index 4ede85c95..a314ff72d 100644
--- a/installer/check.php
+++ b/installer/check.php
@@ -116,9 +116,6 @@ foreach ($required_libs as $classname => $file) {
if (class_exists($classname)) {
$RCI->pass($classname);
}
- else if ($classname == 'DB' || ($classname == 'MDB2' && class_exists('DB'))) {
- $RCI->na($classname, 'Use ' . ($classname == 'DB' ? 'MDB2' : 'DB') . ' instead');
- }
else {
$RCI->fail($classname, "Failed to load $file", $source_urls[$classname]);
}
diff --git a/installer/config.php b/installer/config.php
index f6916406e..194c82600 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -15,6 +15,7 @@ $RCI->config_props = array(
'prefer_html' => 1,
'preview_pane' => 1,
'htmleditor' => 1,
+ 'debug_level' => 1,
);
// allow the current user to get to the next step
@@ -47,25 +48,6 @@ if (!empty($_POST['submit'])) {