1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

asdfasfasfs

This commit is contained in:
Steffo 2018-09-18 00:35:37 +02:00
parent c52ab96c67
commit ecc0a763cf
5 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@ import time
import logging import logging
import coloredlogs import coloredlogs
logging.getLogger().setLevel(level=logging.ERROR) logging.getLogger().disabled = True
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
coloredlogs.install(level="DEBUG", logger=logger) coloredlogs.install(level="DEBUG", logger=logger)

View file

@ -20,7 +20,7 @@ import datetime
import sqlalchemy.exc import sqlalchemy.exc
import coloredlogs import coloredlogs
logging.getLogger().setLevel(level=logging.ERROR) logging.getLogger().disabled = True
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
coloredlogs.install(level="DEBUG", logger=logger) coloredlogs.install(level="DEBUG", logger=logger)

View file

@ -13,7 +13,7 @@ import coloredlogs
config = configparser.ConfigParser() config = configparser.ConfigParser()
config.read("config.ini") config.read("config.ini")
logging.getLogger().setLevel(level=logging.ERROR) logging.getLogger().disabled = True
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
coloredlogs.install(level="DEBUG", logger=logger) coloredlogs.install(level="DEBUG", logger=logger)

View file

@ -9,7 +9,7 @@ import telegram
import sys import sys
import coloredlogs import coloredlogs
logging.getLogger().setLevel(level=logging.ERROR) logging.getLogger().disabled = True
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
coloredlogs.install(level="DEBUG", logger=logger) coloredlogs.install(level="DEBUG", logger=logger)

View file

@ -24,7 +24,7 @@ try:
except Exception: except Exception:
model = None model = None
logging.getLogger().setLevel(level=logging.ERROR) logging.getLogger().disabled = True
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
coloredlogs.install(level="DEBUG", logger=logger) coloredlogs.install(level="DEBUG", logger=logger)