pages-server/server
Gusted 1e183d7249
Improve logging
- Actually log useful information at their respective log level.
- Add logs in hot-paths to be able to deep-dive and debug specific
requests (see server/handler.go)
- Remove zerologger and instead use custom logger that doesn't log
JSON (directly inspired by https://codeberg.org/Codeberg/moderation/pulls/7).
- Add more information to existing fields(e.g. the host that the user is
visiting, this was noted by @fnetX).
2022-07-24 06:22:52 +02:00
..
cache make mem cache an interface and inject 2021-12-05 14:48:51 +01:00
certificates Improve logging 2022-07-24 06:22:52 +02:00
database Improve logging 2022-07-24 06:22:52 +02:00
dns unexport if posible 2021-12-05 16:24:26 +01:00
gitea Tell fasthttp to not set "Content-Length: 0" on non cached content (#107) 2022-07-15 21:06:05 +02:00
log Improve logging 2022-07-24 06:22:52 +02:00
upstream Improve logging 2022-07-24 06:22:52 +02:00
utils move more args of Upstream() to upstream Options 2021-12-05 19:53:23 +01:00
version Release via CI (#94) 2022-06-14 20:35:11 +02:00
handler.go Improve logging 2022-07-24 06:22:52 +02:00
handler_test.go Enhance joinURL and return error on gitea client on start instead while running (#88) 2022-06-13 20:07:32 +02:00
helpers.go move helper func in related packages 2021-12-05 14:48:47 +01:00
setup.go Improve logging 2022-07-24 06:22:52 +02:00
try.go Improve logging 2022-07-24 06:22:52 +02:00