remove unused coloredlogs, set default logging level ERROR for library
This commit is contained in:
Binary file not shown.
+1
-1
@@ -21,4 +21,4 @@ if not is_url_reachable(RULES_URL):
|
|||||||
raise LookupError(f"LUTZPYBOT rules url({RULES_URL}) is not reachable")
|
raise LookupError(f"LUTZPYBOT rules url({RULES_URL}) is not reachable")
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(message)s", datefmt="%Y-%m-%d %H:%M:%S")
|
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(message)s", datefmt="%Y-%m-%d %H:%M:%S")
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.ERROR)
|
||||||
|
|||||||
@@ -10,5 +10,4 @@ bot = AsyncTeleBot(
|
|||||||
"HTML",
|
"HTML",
|
||||||
disable_web_page_preview=True,
|
disable_web_page_preview=True,
|
||||||
allow_sending_without_reply=True,
|
allow_sending_without_reply=True,
|
||||||
colorful_logs=True,
|
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user