diff --git a/cmd/internal/core/reconfigure-switch.go b/cmd/internal/core/reconfigure-switch.go index f9798756..90ee778e 100644 --- a/cmd/internal/core/reconfigure-switch.go +++ b/cmd/internal/core/reconfigure-switch.go @@ -100,7 +100,7 @@ func (c *Core) reconfigureSwitch(switchName string) (*models.V1SwitchResponse, e return nil, fmt.Errorf("could not gather information about eth0 nic: %w", err) } - c.log.Info("assembled new config for switch", "config", switchConfig) + c.log.Debug("assembled new config for switch", "config", switchConfig) if !c.enableReconfigureSwitch { c.log.Debug("skip config application because of environment setting") return s, nil diff --git a/cmd/internal/switcher/templates/test_data/dev/sonic_frr.conf b/cmd/internal/switcher/templates/test_data/dev/sonic_frr.conf index f99832eb..c745dc55 100644 --- a/cmd/internal/switcher/templates/test_data/dev/sonic_frr.conf +++ b/cmd/internal/switcher/templates/test_data/dev/sonic_frr.conf @@ -4,6 +4,7 @@ hostname leaf01 password zebra enable password zebra ! +agentx log syslog warnings log facility local4 debug bgp updates diff --git a/cmd/internal/switcher/templates/test_data/lab/sonic_frr.conf b/cmd/internal/switcher/templates/test_data/lab/sonic_frr.conf index f0c46a87..f08bfffe 100644 --- a/cmd/internal/switcher/templates/test_data/lab/sonic_frr.conf +++ b/cmd/internal/switcher/templates/test_data/lab/sonic_frr.conf @@ -4,6 +4,7 @@ hostname leaf01 password zebra enable password zebra ! +agentx log syslog debugging log facility local4 debug bgp updates diff --git a/cmd/internal/switcher/templates/test_data/notenants/sonic_frr.conf b/cmd/internal/switcher/templates/test_data/notenants/sonic_frr.conf index fc889b05..7ca0ee8d 100644 --- a/cmd/internal/switcher/templates/test_data/notenants/sonic_frr.conf +++ b/cmd/internal/switcher/templates/test_data/notenants/sonic_frr.conf @@ -4,6 +4,7 @@ hostname leaf01 password zebra enable password zebra ! +agentx log syslog warnings log facility local4 debug bgp updates diff --git a/cmd/internal/switcher/templates/tpl/sonic_frr.tpl b/cmd/internal/switcher/templates/tpl/sonic_frr.tpl index 1d2d96fa..dc14890b 100644 --- a/cmd/internal/switcher/templates/tpl/sonic_frr.tpl +++ b/cmd/internal/switcher/templates/tpl/sonic_frr.tpl @@ -4,6 +4,7 @@ hostname {{ .Name }} password zebra enable password zebra ! +agentx log syslog {{ .LogLevel }} log facility local4 debug bgp updates