Properly fromats console logs

This commit is contained in:
Sergi Delgado Segura
2019-12-16 19:44:50 +01:00
parent 77b191dde2
commit a9df67d787
3 changed files with 20 additions and 9 deletions

View File

@@ -28,6 +28,6 @@ c_logger.setLevel(logging.INFO)
ch = logging.StreamHandler()
ch.setLevel(logging.INFO)
ch_formatter = logging.Formatter("%(asctime)s %(message)s", "%Y-%m-%d %H:%M:%S")
ch_formatter = logging.Formatter("%(asctime)s %(message)s.", "%Y-%m-%d %H:%M:%S")
ch.setFormatter(ch_formatter)
c_logger.addHandler(ch)