diff --git a/cmd/server/cadence/cadence.go b/cmd/server/cadence/cadence.go index c283da87f53..1417bc2d42c 100644 --- a/cmd/server/cadence/cadence.go +++ b/cmd/server/cadence/cadence.go @@ -58,7 +58,7 @@ func startHandler(c *cli.Context) error { return fmt.Errorf("Config file corrupted: %w", err) } if cfg.Log.Level == "debug" { - return fmt.Errorf("config=%v", cfg.String()) + log.Printf("config=%v", cfg.String()) } if cfg.DynamicConfig.Client == "" { cfg.DynamicConfigClient.Filepath = constructPathIfNeed(rootDir, cfg.DynamicConfigClient.Filepath)