We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774498b commit e7c50a8Copy full SHA for e7c50a8
main.go
@@ -44,6 +44,7 @@ func main() {
44
}
45
app := cmd.NewMainApp(cmd.AppVersion{Version: Version, Extra: formatBuiltWith()})
46
_ = cmd.RunMainApp(app, os.Args...) // all errors should have been handled by the RunMainApp
47
+ // flush the queued logs before exiting, it is a MUST, otherwise there will be log loss
48
log.GetManager().Close()
49
50
0 commit comments