From 1e9f09be2f938e50ed51dc2a01962281e3e303d2 Mon Sep 17 00:00:00 2001 From: W192547975 <138874985+W192547975@users.noreply.github.com> Date: Sun, 6 Aug 2023 14:49:15 +0800 Subject: [PATCH] Update config.go fix bug --- core/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/config.go b/core/config.go index 1d4707a..1de6813 100644 --- a/core/config.go +++ b/core/config.go @@ -215,7 +215,7 @@ func parseParams(subCommand string) { daemonMode := fset.Bool("d", false, "daemonMode") notVerbose := fset.Bool("nv", false, "not log console") newconfig := fset.Bool("newconfig", false, "not load existing config.json") - logLevel := fset.Int("loglevel", 0, "0:info 1:warn 2:error 3:debug") //BUG? maybe 0:debug + logLevel := fset.Int("loglevel", 1, "0:debug 1:info 2:warn 3:error") //BUG? maybe 0:debug if subCommand == "" { // no subcommand fset.Parse(os.Args[1:]) } else {