mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-07 19:40:30 +08:00
AUTH-2648 updated usage text
This commit is contained in:
@@ -223,6 +223,9 @@ func createLogger(c *cli.Context, isTransport bool) (logger.Service, error) {
|
||||
logLevel := c.String("loglevel")
|
||||
if isTransport {
|
||||
logLevel = c.String("transport-loglevel")
|
||||
if logLevel == "" {
|
||||
logLevel = "fatal"
|
||||
}
|
||||
}
|
||||
loggerOpts = append(loggerOpts, logger.LogLevelString(logLevel))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user