logging test

This commit is contained in:
2000-Trek 2023-06-23 18:49:05 +02:00
parent fb71a56030
commit 9ba5abb7f7

View file

@ -26,7 +26,7 @@ db_log.addHandler(db_consol_handler)
website_log = logging.getLogger('website')
website_consol_handler = logging.StreamHandler()
website_consol_handler.setFormatter(logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s'))
website_log.addHandler(db_consol_handler)
website_log.addHandler(website_consol_handler)
#var
status = True