functions: logging: use printer_data

This commit is contained in:
alfrix
2022-11-01 17:54:01 -03:00
parent 03e4681aa6
commit 79c858ded6
3 changed files with 16 additions and 7 deletions

View File

@@ -157,7 +157,6 @@ def setup_logging(log_file, software_version):
stdout_fmt = logging.Formatter(
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
stdout_hdlr.setFormatter(stdout_fmt)
fh = listener = None
try:
if os.path.exists(log_file):