Avoid logs from HTTPX
This commit is contained in:
parent
51f34324fb
commit
0197c70d80
|
@ -29,6 +29,7 @@ async def new_msg(update, context, regexes):
|
|||
|
||||
if __name__ == '__main__':
|
||||
logging.basicConfig(format='%(asctime)s|%(levelname)s|%(message)s', level=logging.INFO)
|
||||
logging.getLogger("httpx").setLevel(logging.WARNING)
|
||||
logging.info("Starting")
|
||||
config = load_config()
|
||||
application = Application.builder().token(config["telegramApiKey"]).build()
|
||||
|
|
Loading…
Reference in New Issue