import logging

logging.basicConfig(level=logging.DEBUG,  # 控制台打印的日志级别
                    # filename='new.log',
                    filemode='a',  ##模式，有w和a，w就是写模式，每次都会重新写日志，覆盖之前的日志,a是追加模式，默认如果不写的话，就是追加模式
                    format='%(asctime)s - %(levelname)s: %(message)s'
                    )

logger = logging

d6cb709cafb56129b4230b7e4cb035a33dadd0e2
<mask token>

<mask token>
logging.basicConfig(level=logging.DEBUG, filemode='a', format=
    '%(asctime)s - %(levelname)s: %(message)s')
<mask token>

<mask token>
logging.basicConfig(level=logging.DEBUG, filemode='a', format=
    '%(asctime)s - %(levelname)s: %(message)s')
logger = logging

import logging
logging.basicConfig(level=logging.DEBUG, filemode='a', format=
    '%(asctime)s - %(levelname)s: %(message)s')
logger = logging

import logging

logging.basicConfig(level=logging.DEBUG,  # 控制台打印的日志级别
                    # filename='new.log',
                    filemode='a',  ##模式，有w和a，w就是写模式，每次都会重新写日志，覆盖之前的日志,a是追加模式，默认如果不写的话，就是追加模式
                    format='%(asctime)s - %(levelname)s: %(message)s'
                    )

logger = logging
