Skip to content

Commit 211e35b

Browse files
changed logging level in internal/cli/server/xplugeth_hooks pluginsConfig()
1 parent 88d1446 commit 211e35b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

internal/cli/server/xplugeth_hooks.go

+5-6
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ func isValidPath(path string) bool {
2727

2828
func pluginsConfig() string {
2929
pluginsConfigEnv := os.Getenv("PLUGINS_CONFIG")
30-
30+
3131
if pluginsConfigEnv != "" && isValidPath(pluginsConfigEnv) {
32-
log.Error("path provided", "path", pluginsConfigEnv)
32+
log.Info("plugins config path provided", "path", pluginsConfigEnv)
3333
return pluginsConfigEnv
34-
} else {
35-
log.Error("plugins config path not provided or invalid")
36-
return ""
37-
}
34+
}
3835

36+
log.Info("plugins config path not provided or invalid")
37+
return ""
3938
}
4039

4140
func pluginInitializeNode() {

0 commit comments

Comments
 (0)