1
xuwenbao 2013-03-07 08:57:59 +08:00 1
logger.setLevel(logging.NOTSET) 修改为 logger.setLevel(logging.DEBUG),NOTSET并不是最小的级别,而是代表继承“parent”。
logging.debug('This is debug message') logging.info('This is info message') logging.warning('This is warning message') 这三句改为 logger.debug('This is debug message') logger.info('This is info message') logger.warning('This is warning message') |