mirror of
1
Fork 0
gotosocial/internal/config
Daenney 68e6d08c76
[feature] Add a request ID and include it in logs (#1476)
This adds a lightweight form of tracing to GTS. Each incoming request is
assigned a Request ID which we then pass on and log in all our log
lines. Any function that gets called downstream from an HTTP handler
should now emit a requestID=value pair whenever it logs something.

Co-authored-by: kim <grufwub@gmail.com>
2023-02-17 12:02:29 +01:00
..
gen [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
testdata [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
config.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
config_test.go [feature] support configuring database caches (#1246) 2022-12-11 13:03:15 +00:00
defaults.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
flags.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
global.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
helpers.gen.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
state.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
validate.go [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
validate_test.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00