Skip to content

Commit 8c8f96c

Browse files
committed
adjusting log line for trusted proxies
1 parent 658d193 commit 8c8f96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func runWebServer() {
105105
trustedProxies := getEnv("GIN_TRUSTED_PROXIES", "")
106106
if len(trustedProxies) > 0 {
107107
_ = router.SetTrustedProxies(strings.Split(trustedProxies, ","))
108-
log.Print(strings.Split(trustedProxies, ","))
108+
log.Printf("[info] TibiaData API gin-trusted-proxies: %s", strings.Split(trustedProxies, ","))
109109
} else {
110110
_ = router.SetTrustedProxies(nil)
111111
}

0 commit comments

Comments
 (0)