diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-10 22:44:56 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-10 22:44:56 +0000 |
commit | 7a8938518d8ee00531a473a3392b17d0403a0d32 (patch) | |
tree | 681e7fee0ff57ee1c2634be62461048a60756941 /etc | |
parent | 83c5299b6273e66cdeda36588d2fcfdb1df0c3b0 (diff) | |
download | pfsense-7a8938518d8ee00531a473a3392b17d0403a0d32.zip pfsense-7a8938518d8ee00531a473a3392b17d0403a0d32.tar.gz |
Add a real ipsec.log file and redirect syslog entries to it
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 2 | ||||
-rw-r--r-- | etc/syslog.conf | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -98,12 +98,14 @@ if [ ! "$PLATFORM" = "cdrom" ]; then clog -i -s 10000 /var/log/dhcpd.log clog -i -s 10000 /var/log/vpn.log clog -i -s 10000 /var/log/portalauth.log + clog -i -s 10000 /var/log/ipsec.log else 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 clog -i -s 32768 /var/log/portalauth.log + clog -i -s 10000 /var/log/ipsec.log fi # change permissions on newly created clog files. diff --git a/etc/syslog.conf b/etc/syslog.conf index 03f5022..45786f3 100644 --- a/etc/syslog.conf +++ b/etc/syslog.conf @@ -2,7 +2,10 @@ 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;local4.none;local7.none %/var/log/system.log -security.* %/var/log/system.log +local7.none %/var/log/system.log +*.notice;kern.debug;lpr.info;mail.crit; %/var/log/system.log +news.err;;local3.none;local4.none; %/var/log/system.log +local0.none %/var/log/system.log +security.* %/var/log/ipsec.log auth.info;authpriv.info;daemon.info %/var/log/system.log auth.info;authpriv.info |exec /usr/local/sbin/sshlockout_pf |