From 087a89f823d366d3588c5ce1ca351b6e2dcee2d3 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sun, 11 Jul 2010 19:57:36 -0400 Subject: fix some of the logging for load balancer, still partially broken --- etc/inc/system.inc | 5 +++-- etc/inc/vslb.inc | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'etc') 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 .= << +?> \ 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 -- cgit v1.1