logging test
This commit is contained in:
parent
fb71a56030
commit
9ba5abb7f7
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -26,7 +26,7 @@ db_log.addHandler(db_consol_handler)
|
||||||
website_log = logging.getLogger('website')
|
website_log = logging.getLogger('website')
|
||||||
website_consol_handler = logging.StreamHandler()
|
website_consol_handler = logging.StreamHandler()
|
||||||
website_consol_handler.setFormatter(logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s'))
|
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
|
#var
|
||||||
status = True
|
status = True
|
||||||
|
|
Loading…
Reference in a new issue