Move ipsec logs to their own file

This commit is contained in:
Scott Ullrich 2005-07-10 23:49:24 +00:00
parent 29f585f28b
commit a653c7f06e
2 changed files with 13 additions and 13 deletions

View File

@ -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

View File

@ -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>