geofront
geofront copied to clipboard
More helpful console logging
The current console logging (e.g., which is shown in docker logs
command) has very little information helpful to the users.
- [ ] Print date/time, severity, and the source module information to each line. Optionally we could add coloring when printing to a tty.
- [ ] Print the current version and configuration summary (e.g., if
UnionRemoteSet
is used, show the individual remote sets) when starting up. - [ ] Print the traceback and error message when an internal server error occurs.
- [ ] Add a knob (e.g., environment variable or CLI argument) to control log verbosity. (e.g.,
--debug
or-vvv
) - [ ] Document the logging-related configurations.
Example:
It could be achieved using the standard logging
module.
Yes. When I get some free time, I will make a PR for this.