diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-08-09 18:38:01 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-08-09 18:38:01 -0400 |
commit | 4ef2d7035ad78473dee6c2a64fb460bc15bc2764 (patch) | |
tree | 141dedc26ab8378699127a05bfc726422bb8c990 /etc/inc | |
parent | 08fe13026c91e0189228bea82365255073bdec9e (diff) | |
download | pfsense-4ef2d7035ad78473dee6c2a64fb460bc15bc2764.zip pfsense-4ef2d7035ad78473dee6c2a64fb460bc15bc2764.tar.gz |
Allow logging everything to syslog (allows syslog of snort, amongst other things)
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 9bf6a43..32910dd 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -455,6 +455,12 @@ auth.info;authpriv.info;daemon.info @{$syslogcfg['remoteserver']} *.emerg @{$syslogcfg['remoteserver']} EOD; + if (isset($syslogcfg['logall'])) { + $syslogconf .= <<<EOD +*.* @{$syslogcfg['remoteserver']} + +EOD; + } fwrite($fd, $syslogconf); fclose($fd); // Are we logging to a least one remote server ? |