diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 13 | ||||
-rwxr-xr-x | etc/rc | 3 | ||||
-rw-r--r-- | etc/syslog.conf | 3 | ||||
-rw-r--r-- | etc/version | 2 |
4 files changed, 15 insertions, 6 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index d2c0b33..d2c76c9 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -195,8 +195,9 @@ function system_syslogd_start() { $syslogconf = <<<EOD local0.* %/var/log/filter.log local3.* %/var/log/vpn.log +local4.* %/var/log/portalauth.log local7.* %/var/log/dhcpd.log -*.notice;kern.debug;lpr.info;mail.crit;news.err;local0.none;local3.none;local7.none %/var/log/system.log +*.notice;kern.debug;lpr.info;mail.crit;news.err;local0.none;local3.none;local4.none;local7.none %/var/log/system.log security.* %/var/log/system.log auth.info;authpriv.info;daemon.info %/var/log/system.log *.emerg * @@ -213,20 +214,26 @@ EOD; if (isset($syslogcfg['vpn'])) { $syslogconf .= <<<EOD local3.* @{$syslogcfg['remoteserver']} +EOD; + } + + if (isset($syslogcfg['portalauth'])) { + $syslogconf .= <<<EOD +local4.* @{$syslogcfg['remoteserver']} EOD; } + if (isset($syslogcfg['dhcp'])) { $syslogconf .= <<<EOD local7.* @{$syslogcfg['remoteserver']} - EOD; } if (isset($syslogcfg['system'])) { $syslogconf .= <<<EOD -*.notice;kern.debug;lpr.info;mail.crit;news.err;local0.none;local7.none @{$syslogcfg['remoteserver']} +*.notice;kern.debug;lpr.info;mail.crit;news.err;local0.none;local3.none;local4.none;local7.none @{$syslogcfg['remoteserver']} security.* @{$syslogcfg['remoteserver']} auth.info;authpriv.info;daemon.info @{$syslogcfg['remoteserver']} *.emerg @{$syslogcfg['remoteserver']} @@ -35,7 +35,8 @@ clog -i -s 262144 /var/log/system.log clog -i -s 262144 /var/log/filter.log clog -i -s 32768 /var/log/dhcpd.log clog -i -s 32768 /var/log/vpn.log -chmod 0600 /var/log/system.log /var/log/filter.log /var/log/dhcpd.log /var/log/vpn.log +clog -i -s 32768 /var/log/portalauth.log +chmod 0600 /var/log/system.log /var/log/filter.log /var/log/dhcpd.log /var/log/vpn.log /var/log/portalauth.log adjkerntz -i diff --git a/etc/syslog.conf b/etc/syslog.conf index 6b7fbd9..9d102f3 100644 --- a/etc/syslog.conf +++ b/etc/syslog.conf @@ -1,7 +1,8 @@ local0.* %/var/log/filter.log local3.* %/var/log/vpn.log +local4.* %/var/log/portalauth.log local7.* %/var/log/dhcpd.log -*.notice;kern.debug;lpr.info;mail.crit;news.err;local0.none;local3.none;local7.none %/var/log/system.log +*.notice;kern.debug;lpr.info;mail.crit;news.err;local0.none;local3.none;local4.none;local7.none %/var/log/system.log security.* %/var/log/system.log auth.info;authpriv.info;daemon.info %/var/log/system.log *.emerg * diff --git a/etc/version b/etc/version index 5b526c0..ef10c3a 100644 --- a/etc/version +++ b/etc/version @@ -1 +1 @@ -1.2b2 +1.2b2-STOCKTON |