diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-10-05 21:50:56 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-10-05 21:50:56 +0000 |
commit | 18330d38ae3f645070333a4f22156f079b257d5d (patch) | |
tree | 11712e67ac1925bf1151d460b2283c6a5217d2e4 /etc/inc | |
parent | f06645b18a05d30d4a4588329ac4a5500879c7c9 (diff) | |
download | pfsense-18330d38ae3f645070333a4f22156f079b257d5d.zip pfsense-18330d38ae3f645070333a4f22156f079b257d5d.tar.gz |
Add OpenNTPD logging tab
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 31633da..2a91317 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -249,6 +249,13 @@ 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"; + if (!isset($syslogcfg['disablelocallogging'])) { + $syslogconf .= <<<EOD +*.* %{$g['varlog_path']}/ntpd.log + +EOD; + } $syslogconf .= "!racoon\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= <<<EOD @@ -262,7 +269,7 @@ EOD; EOD; } - $syslogconf .= "!-racoon,{$facilitylist}\n!openvpn\n"; + $syslogconf .= "!-racoon,{$facilitylist}\n!openvpn\nntpd\n"; if (!isset($syslogcfg['disablelocallogging'])) { $syslogconf .= <<<EOD *.* %{$g['varlog_path']}/openvpn.log |