From 6ebc9e88fa3fb418bea9acc0056a2caa10148eb5 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Wed, 18 Mar 2026 06:56:01 +0100 Subject: [PATCH] Add more context information to auth failed log Entire-Checkpoint: 2187cd89cb78 --- internal/auth/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/auth/auth.go b/internal/auth/auth.go index 69f4f078..327e48a3 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -421,7 +421,7 @@ func (auth *Authentication) Auth( return } - cclog.Info("auth -> authentication failed") + cclog.Infof("auth -> authentication failed: no valid session or JWT for %s %s from %s", r.Method, r.URL.Path, r.RemoteAddr) onfailure(rw, r, errors.New("unauthorized (please login first)")) }) }