From 4f2ae50ed02abe87c8e7f6b2cda863e36cceea2b Mon Sep 17 00:00:00 2001 From: Lev Date: Mon, 12 Dec 2022 15:09:03 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B0=20?= =?UTF-8?q?=D0=BB=D0=BE=D0=B3=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 2cdbf5e..ed0661d 100644 --- a/main.py +++ b/main.py @@ -280,7 +280,8 @@ if __name__ == '__main__': help=help_str()) args = parser.parse_args() - logging.basicConfig(format='%(levelname)s -> %(message)s', level=args.log_level.upper()) + logging.basicConfig(format='%(asctime)s |%(levelname)s| %(message)s', + datefmt='%H:%M:%S', level=args.log_level.upper()) def response_hook(resp, *_args, **_kwargs): if logging.root.isEnabledFor(logging.DEBUG):