diff options
author | alecpl <alec@alec.pl> | 2008-08-27 10:58:33 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-08-27 10:58:33 +0000 |
commit | b77d0dd6c5574d9841cd5d040dfcc351a58ccb82 (patch) | |
tree | 6c8e872c3d4be368f2fa631f2421d3935e71ab21 /config | |
parent | d5c539942e3cb4ad623a3f3f0344fc45af371981 (diff) |
- added options to use syslog instead of log file (#1484850)
- added Logging & Debugging section in Installer
- fixed config from $_POST for next installer steps saving
- fixed and re-enabled debug_level setting in installer
Diffstat (limited to 'config')
-rw-r--r-- | config/main.inc.php.dist | 23 |
1 files changed, 17 insertions, 6 deletions
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; |