Add url query to logging
This commit is contained in:
@@ -165,6 +165,7 @@ func (state *State) getLogger(r *http.Request) *slog.Logger {
|
|||||||
"user_agent", r.UserAgent(),
|
"user_agent", r.UserAgent(),
|
||||||
"host", r.Host,
|
"host", r.Host,
|
||||||
"path", r.URL.Path,
|
"path", r.URL.Path,
|
||||||
|
"query", r.URL.RawQuery,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user