diff --git a/cmd/fabric-ca-client/command/config.go b/cmd/fabric-ca-client/command/config.go index e3130ba9..7d2e56b1 100644 --- a/cmd/fabric-ca-client/command/config.go +++ b/cmd/fabric-ca-client/command/config.go @@ -226,7 +226,7 @@ func (c *ClientCmd) ConfigInit() error { if logLevel != "" { c.logLevel = logLevel } - calog.SetLogLevel(c.logLevel, debug) + err = calog.SetLogLevel(c.logLevel, debug) if err != nil { return err }