diff options
-rw-r--r-- | etc/inc/system.inc | 4 | ||||
-rwxr-xr-x | usr/local/www/diag_logs.php | 2 | ||||
-rw-r--r-- | usr/local/www/diag_logs_ntpd.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 2a91317..701e811 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -249,7 +249,7 @@ function system_syslogd_start() { printf("Error: cannot open syslog.conf in system_syslogd_start().\n"); return 1; } - $syslogconf .= "!-racoon,{$facilitylist}\n!openvpn\n!ntpd\n"; + $syslogconf .= "!ntpd\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= <<<EOD *.* %{$g['varlog_path']}/ntpd.log @@ -269,7 +269,7 @@ EOD; EOD; } - $syslogconf .= "!-racoon,{$facilitylist}\n!openvpn\nntpd\n"; + $syslogconf .= "!-racoon,{$facilitylist}\n!openvpn\n!ntpd\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= <<<EOD *.* %{$g['varlog_path']}/openvpn.log diff --git a/usr/local/www/diag_logs.php b/usr/local/www/diag_logs.php index c28038f..07238d8 100755 --- a/usr/local/www/diag_logs.php +++ b/usr/local/www/diag_logs.php @@ -79,7 +79,7 @@ include("head.inc"); <tr> <td colspan="2" class="listtopic">Last <?=$nentries;?> system log entries</td> </tr> - <?php dump_clog($system_logfile, $nentries, true, array("racoon"), array("pppoe")); ?> + <?php dump_clog($system_logfile, $nentries, true, array("racoon","ntpd"), array("pppoe")); ?> <tr> <td> <br> diff --git a/usr/local/www/diag_logs_ntpd.php b/usr/local/www/diag_logs_ntpd.php index 7d4f9b4..2088269 100644 --- a/usr/local/www/diag_logs_ntpd.php +++ b/usr/local/www/diag_logs_ntpd.php @@ -78,7 +78,7 @@ include("head.inc"); </tr> <?php dump_clog($slbd_logfile, $nentries); ?> <tr><td><br> - <form action="diag_logs_slbd.php" method="post"> + <form action="diag_logs_ntpd.php" method="post"> <input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr> </table> </div> |