fix: adjust log level

This commit is contained in:
zhayujie
2022-12-20 22:25:03 +08:00
parent 8b230596cf
commit 71b4cf57c3
4 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ import sys
def _get_logger():
log = logging.getLogger('log')
log.setLevel(logging.DEBUG)
log.setLevel(logging.INFO)
console_handle = logging.StreamHandler(sys.stdout)
console_handle.setFormatter(logging.Formatter('[%(levelname)s][%(asctime)s][%(filename)s:%(lineno)d] - %(message)s',
datefmt='%Y-%m-%d %H:%M:%S'))