mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-20 19:29:49 +00:00
Log level DEBUG by default
This commit is contained in:
parent
faabd094fd
commit
35e285ff62
@ -116,7 +116,7 @@ func initApp(c *cli.Context) error {
|
||||
if err == nil {
|
||||
logrus.SetLevel(lvl)
|
||||
} else {
|
||||
logrus.SetLevel(logrus.InfoLevel)
|
||||
logrus.SetLevel(logrus.DebugLevel)
|
||||
}
|
||||
|
||||
if strings.ToLower(c.String("log-format")) == "json" {
|
||||
@ -155,7 +155,7 @@ func commonFlags() []cli.Flag {
|
||||
Name: "log-level",
|
||||
Usage: "log level",
|
||||
EnvVars: []string{"HYSTERIA_LOG_LEVEL", "LOGGING_LEVEL"},
|
||||
Value: "info",
|
||||
Value: "debug",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "log-timestamp",
|
||||
|
Loading…
x
Reference in New Issue
Block a user