Francis Lavoie
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
cmd/main.go
|
@ -185,7 +185,7 @@ func loadConfig(configFile, adapterName string) ([]byte, string, error) { |
|
|
if warn.Directive != "" { |
|
|
if warn.Directive != "" { |
|
|
msg = fmt.Sprintf("%s: %s", warn.Directive, warn.Message) |
|
|
msg = fmt.Sprintf("%s: %s", warn.Directive, warn.Message) |
|
|
} |
|
|
} |
|
|
fmt.Printf("[WARNING][%s] %s:%d: %s\n", adapterName, warn.File, warn.Line, msg) |
|
|
caddy.Log().Warn(msg, zap.String("adapter", adapterName), zap.String("file", warn.File), zap.Int("line", warn.Line)) |
|
|
} |
|
|
} |
|
|
config = adaptedConfig |
|
|
config = adaptedConfig |
|
|
} |
|
|
} |
|
|