Add logging for favicon requests in lerproxy

- cmd/lerproxy/main.go
  - Added log statement to record favicon requests using `log.I.F`.
This commit is contained in:
2025-08-09 09:16:41 +01:00
parent a4355f4963
commit 2ef76884bd

View File

@@ -334,6 +334,7 @@ func setProxy(mapping map[string]string) (h http.Handler, err error) {
mux.HandleFunc( mux.HandleFunc(
hn+"/favicon.ico", hn+"/favicon.ico",
func(writer http.ResponseWriter, request *http.Request) { func(writer http.ResponseWriter, request *http.Request) {
log.I.F("serving favicon to %s", hn)
if _, err = writer.Write(fi); chk.E(err) { if _, err = writer.Write(fi); chk.E(err) {
return return
} }