python logging logging.basicConfig( filename='log.txt', format='%(asctime)s %(levelname)s:%(message)s', level=logging.INFO, datefmt='%m/%d/%Y %I:%M:%S %p', ) 파이썬 logging할 때 설정값 파이썬 python 2023.09.19