mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix syslog.conf generation. Ticket #929
This commit is contained in:
parent
80a5b5f7e6
commit
07bdaacd93
@ -564,6 +564,8 @@ auth.info;authpriv.info;daemon.info @{$syslogcfg['remoteserver']}
|
||||
|
||||
EOD;
|
||||
|
||||
}
|
||||
|
||||
if (isset($syslogcfg['system'])) {
|
||||
if($syslogcfg['remoteserver2'])
|
||||
$syslogconf .= <<<EOD
|
||||
@ -575,6 +577,8 @@ auth.info;authpriv.info;daemon.info @{$syslogcfg['remoteserver2']}
|
||||
|
||||
EOD;
|
||||
|
||||
}
|
||||
|
||||
if (isset($syslogcfg['system'])) {
|
||||
if($syslogcfg['remoteserver3'])
|
||||
$syslogconf .= <<<EOD
|
||||
@ -594,14 +598,12 @@ EOD;
|
||||
|
||||
EOD;
|
||||
|
||||
}
|
||||
if($syslogcfg['remoteserver2'])
|
||||
$syslogconf .= <<<EOD
|
||||
*.* @{$syslogcfg['remoteserver2']}
|
||||
|
||||
EOD;
|
||||
|
||||
}
|
||||
if($syslogcfg['remoteserver3'])
|
||||
$syslogconf .= <<<EOD
|
||||
*.* @{$syslogcfg['remoteserver3']}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user