geofront icon indicating copy to clipboard operation
geofront copied to clipboard

More helpful console logging

Open achimnol opened this issue 7 years ago • 2 comments

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: image

achimnol avatar Feb 17 '18 16:02 achimnol

It could be achieved using the standard logging module.

dahlia avatar Feb 20 '18 03:02 dahlia

Yes. When I get some free time, I will make a PR for this.

achimnol avatar Feb 21 '18 08:02 achimnol