From 5215ed03fd25205b6fd74404600e236ca7240d97 Mon Sep 17 00:00:00 2001 From: Manu NALEPA Date: Tue, 27 Feb 2024 10:48:22 +0100 Subject: [PATCH] Set the log level for `running on ` as `INFO`. (#13670) In case of custom ethereum network, keep the log as `WARN`. --- config/features/config.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/features/config.go b/config/features/config.go index 209b14c5ad..dce574b7dd 100644 --- a/config/features/config.go +++ b/config/features/config.go @@ -119,21 +119,21 @@ func InitWithReset(c *Flags) func() { // configureTestnet sets the config according to specified testnet flag func configureTestnet(ctx *cli.Context) error { if ctx.Bool(PraterTestnet.Name) { - log.Warn("Running on the Prater Testnet") + log.Info("Running on the Prater Testnet") if err := params.SetActive(params.PraterConfig().Copy()); err != nil { return err } applyPraterFeatureFlags(ctx) params.UsePraterNetworkConfig() } else if ctx.Bool(SepoliaTestnet.Name) { - log.Warn("Running on the Sepolia Beacon Chain Testnet") + log.Info("Running on the Sepolia Beacon Chain Testnet") if err := params.SetActive(params.SepoliaConfig().Copy()); err != nil { return err } applySepoliaFeatureFlags(ctx) params.UseSepoliaNetworkConfig() } else if ctx.Bool(HoleskyTestnet.Name) { - log.Warn("Running on the Holesky Beacon Chain Testnet") + log.Info("Running on the Holesky Beacon Chain Testnet") if err := params.SetActive(params.HoleskyConfig().Copy()); err != nil { return err } @@ -143,7 +143,7 @@ func configureTestnet(ctx *cli.Context) error { if ctx.IsSet(cmd.ChainConfigFileFlag.Name) { log.Warn("Running on custom Ethereum network specified in a chain configuration yaml file") } else { - log.Warn("Running on Ethereum Mainnet") + log.Info("Running on Ethereum Mainnet") } if err := params.SetActive(params.MainnetConfig().Copy()); err != nil { return err