gomobile: fix empty geth.log (#1396)
This commit is contained in:
parent
0282f481bf
commit
f47187b00b
|
@ -46,7 +46,7 @@ func StartNode(configJSON string) string {
|
|||
return makeJSONResponse(err)
|
||||
}
|
||||
|
||||
if err := logutils.OverrideRootLog(true, "INFO", "", true); err != nil {
|
||||
if err := logutils.OverrideRootLog(true, config.LogLevel, config.LogFile, true); err != nil {
|
||||
return makeJSONResponse(err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue