From 18d6c6e958efe93da94db9d0ea90654ca5c773fa Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Tue, 15 Oct 2024 16:11:45 +1000 Subject: [PATCH] feat: Enhance logging for network name override --- pkg/cannon/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cannon/config.go b/pkg/cannon/config.go index ed7db61f..321557e6 100644 --- a/pkg/cannon/config.go +++ b/pkg/cannon/config.go @@ -124,9 +124,9 @@ func (c *Config) ApplyOverrides(o *Override, log logrus.FieldLogger) error { } if o.NetworkName.Enabled { - log.Info("Overriding network name") + log.WithField("network", o.NetworkName.Value).Info("Overriding network name") - c.Name = o.NetworkName.Value + c.Ethereum.OverrideNetworkName = o.NetworkName.Value } return nil