CHANGE logging

This commit is contained in:
Hoernschen 2024-02-26 21:35:28 +01:00
parent aeaf084ea1
commit 44c76dfcaa
No known key found for this signature in database
GPG Key ID: 37591FAF4E6D3462
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func Handler(
dnsLookupCache, canonicalDomainCache, redirectsCache cache.ICache,
) http.HandlerFunc {
return func(w http.ResponseWriter, req *http.Request) {
log.Info().Msg("\n----------------------------------------------------------")
log.Debug().Msg("\n----------------------------------------------------------")
log := log.With().Strs("Handler", []string{req.Host, req.RequestURI}).Logger()
ctx := context.New(w, req)