summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-10 23:49:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-10 23:49:24 +0000
commita653c7f06e4ef99992513765786bb7dc99bd755d (patch)
tree9d4ab5c65eca4ebe03d47f19dac595e4acffcc4f
parent29f585f28b6465e8b104bb162abd5ed272e28ad5 (diff)
downloadpfsense-a653c7f06e4ef99992513765786bb7dc99bd755d.zip
pfsense-a653c7f06e4ef99992513765786bb7dc99bd755d.tar.gz
Move ipsec logs to their own file
-rw-r--r--etc/syslog.conf22
-rwxr-xr-xusr/local/www/diag_logs_ipsec.php4
2 files changed, 13 insertions, 13 deletions
diff --git a/etc/syslog.conf b/etc/syslog.conf
index 45786f3..4d7a28f 100644
--- a/etc/syslog.conf
+++ b/etc/syslog.conf
@@ -1,11 +1,11 @@
-local0.* %/var/log/filter.log
-local3.* %/var/log/vpn.log
-local4.* %/var/log/portalauth.log
-local7.* %/var/log/dhcpd.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
+local0.* %/var/log/filter.log
+local3.* %/var/log/vpn.log
+local4.* %/var/log/portalauth.log
+local7.* %/var/log/dhcpd.log
+local7.none %/var/log/system.log
+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
+*.notice;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
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php
index 778dde1..c7757ab 100755
--- a/usr/local/www/diag_logs_ipsec.php
+++ b/usr/local/www/diag_logs_ipsec.php
@@ -34,7 +34,7 @@
require("guiconfig.inc");
-$ipsec_logfile = "{$g['varlog_path']}/system.log";
+$ipsec_logfile = "{$g['varlog_path']}/ipsec.log";
$nentries = $config['syslog']['nentries'];
if (!$nentries)
@@ -73,7 +73,7 @@ include("head.inc");
<td colspan="2" class="listtopic">
Last <?=$nentries;?> IPSEC log entries</td>
</tr>
- <tr><td><?php dump_clog_vpn($ipsec_logfile, $nentries); ?>
+ <tr><td><?php dump_clog($ipsec_logfile, $nentries); ?>
<tr><td><br><form action="diag_logs.php" method="post">
<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr>
</table>
OpenPOWER on IntegriCloud