Added authlog purge + improved efficiency of clearing out large syslog tables

This commit is contained in:
laf
2014-10-02 01:37:43 +01:00
parent 10e24653be
commit 8e00599d2a
3 changed files with 23 additions and 2 deletions

View File

@@ -572,6 +572,7 @@ $config['update'] = 1;
# Purge syslog and eventlog
$config['syslog_purge'] = 30; # Number in days of how long to keep syslog entries for.
$config['eventlog_purge'] = 30; # Number in days of how long to keep eventlog entries for.
$config['authlog_purge'] = 30; # Number in days of how long to keep authlog entries for.
# Date format for PHP date()s
$config['dateformat']['long'] = "r"; # RFC2822 style