mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
CHANGE logging
This commit is contained in:
parent
aeaf084ea1
commit
44c76dfcaa
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue