WatchedFileHandler vs RotatingFileHandler

Joey·2021년 9월 23일
0

python

목록 보기
1/1
post-thumbnail

파이썬에서 logging을 사용하여 파일에 log를 남길 때, WatchedFileHandler와 RotatingFileHandler을 모두 등록하는 것은 의미가 없다.

각각의 용도는 다음과 같다.

참고 : https://stackoverflow.com/questions/26334262/python-watchedfilehandler-and-rotatingfilehandler

profile
Video Software Engineer

0개의 댓글