Skip to content

Commit 6d375d7

Browse files
committed
Replace Info log with Debug
Signed-off-by: Doğukan Teber <[email protected]>
1 parent 2272744 commit 6d375d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway/middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (a Authentication) Wrap(next http.Handler) http.Handler {
3636
if ok {
3737
next.ServeHTTP(sr, r)
3838
} else {
39-
logrus.Infof("No valid tenant credentials are found")
39+
logrus.Debugf("No valid tenant credentials are found")
4040
sr.Header().Set("WWW-Authenticate", `Basic realm="Restricted"`)
4141
http.Error(sr, "Unauthorized", http.StatusUnauthorized)
4242
}

0 commit comments

Comments
 (0)