ReflectionsProjections/mm18

Sever logging and reporting

Closed this issue · 1 comments

Every action in the server needs to be written to a log file generated by the server, we need the file and the means of popping status/error message at any place where we log information

Log levels should be:

  • DEBUG -- The most verbose information only needed for debugging. Everything about the program--what arguments were passed, etc.
  • INFO -- Something normal and expected happened.
  • WARNING -- Something unusual happened, but the program was able to resolve it.
  • ERROR -- Something bad happened. The program is still running.
  • CRITICAL -- Everything is on fire. This level is interesting, as in oh god, oh god, we're all gonna die.

Framework for server logging is complete. Logging functions are initialized within run.py, and log settings are set in the same file.