summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-07-11 19:57:36 -0400
committerChris Buechler <cmb@pfsense.org>2010-07-11 19:58:19 -0400
commit087a89f823d366d3588c5ce1ca351b6e2dcee2d3 (patch)
treedf25508697b3f0b18448c065501caca8233b7e48 /etc
parent32c580703fb09b02127e4f71ed430c0412419125 (diff)
downloadpfsense-087a89f823d366d3588c5ce1ca351b6e2dcee2d3.zip
pfsense-087a89f823d366d3588c5ce1ca351b6e2dcee2d3.tar.gz
fix some of the logging for load balancer, still partially broken
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc5
-rw-r--r--etc/inc/vslb.inc3
2 files changed, 5 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index a79a5fb..618a50d 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -483,6 +483,8 @@ function system_syslogd_start() {
if($syslogcfg['remoteserver3'])
$syslogconf .= "*.* @{$syslogcfg['remoteserver3']}\n";
}
+ $syslogconf .= "!relayd\n";
+ $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/relayd.log\n";
$syslogconf .= "!-{$facilitylist}\n";
if (!isset($syslogcfg['disablelocallogging']))
$syslogconf .= <<<EOD
@@ -495,7 +497,6 @@ news.err;local0.none;local3.none;local4.none; {$log_directive}{$g['varlog_path
local7.none {$log_directive}{$g['varlog_path']}/system.log
security.* {$log_directive}{$g['varlog_path']}/system.log
auth.info;authpriv.info;daemon.info {$log_directive}{$g['varlog_path']}/system.log
-local1.* {$log_directive}{$g['varlog_path']}/relayd.log
auth.info;authpriv.info |exec /usr/local/sbin/sshlockout_pf
*.emerg *
@@ -1450,4 +1451,4 @@ function system_get_dmesg_boot() {
return file_get_contents("{$g['varlog_path']}/dmesg.boot");
}
-?>
+?> \ No newline at end of file
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index 4c90f22..bb92e19 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -201,6 +201,7 @@ function relayd_configure() {
/* reindex pools by name as we loop through the pools array */
$pools = array();
+ $conf .= "log updates \n";
/* Virtual server pools */
if(is_array($pool_a)) {
for ($i = 0; isset($pool_a[$i]); $i++) {
@@ -272,4 +273,4 @@ function relayd_configure() {
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud