alexandrie
alexandrie copied to clipboard
add additional details to error logs
hey, just a user report from the wild for you to consider.
I was setting up alexandrie behind a reverse proxy and ran into a puzzling error.
it turned out to be this issue.
the alexandrie logs displayed this:
Feb 24 11:48:20.085 ERRO async-h1 error, version: 0.1.0
I tried but was unable to identify where in the source code that message is generated. It would have been better if there were additional details provided, to facilitate debugging the problem. thanks!
Hello,
I agree that log messages are currently too minimal.
One way to improve things could make better use to structural logging and maybe make log statements be done as NDJSON (newline-delimited JSON) in release mode, with an optional simpler pretty printer when built in debug mode.
I'll try to poke at it very soon, Thanks for filing this issue !