Add more logging to views.py

This commit is contained in:
Odd Stråbø 2019-07-08 02:26:54 +02:00
parent 0549a8b0ea
commit c321b266f0
3 changed files with 19 additions and 13 deletions

View file

@ -109,7 +109,6 @@ class MyFormatter(logging.Formatter):
self._gen_rel_path(record)
# Replace the original format with one customized by logging level
#if record.levelno not in [logging.INFO]:
self._fmt = '%(name)s -> %(levelname)s::%(relpath)s:%(lineno)s %(message)s'
# Call the original formatter class to do the grunt work