From 4fa1ffbb253e7b3f5bb61733395930fb1c3ab12c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 21 Sep 2006 02:29:44 +0000 Subject: [PATCH] Increase filter log space to 784K so that it can accept 999 entries --- etc/rc | 2 +- usr/local/www/diag_logs_filter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index fb5a15a7d0..fbc0b5a90d 100755 --- a/etc/rc +++ b/etc/rc @@ -147,7 +147,7 @@ if [ ! "$PLATFORM" = "cdrom" ]; then clog -i -s 65535 /var/log/slbd.log else clog -i -s 512144 /var/log/system.log - clog -i -s 512144 /var/log/filter.log + clog -i -s 784144 /var/log/filter.log clog -i -s 65535 /var/log/dhcpd.log clog -i -s 65535 /var/log/vpn.log clog -i -s 65535 /var/log/openvpn.log diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php index d0ab350e94..c9894f7377 100755 --- a/usr/local/www/diag_logs_filter.php +++ b/usr/local/www/diag_logs_filter.php @@ -50,7 +50,7 @@ if (!$nentries) if ($_POST['clear']) { exec("killall syslogd"); - exec("/usr/sbin/clog -i -s 262144 /var/log/filter.log"); + exec("/usr/sbin/clog -i -s 784144 /var/log/filter.log"); system_syslogd_start(); }