TotalFreedomBot/logscript.py

5 lines
135 B
Python
Raw Normal View History

2020-11-21 12:38:11 +00:00
import logging
logging.basicConfig(level=logging.CRITICAL, format='%(message)s', handlers=[
2021-01-07 19:14:15 +00:00
logging.FileHandler('log.log', 'a')])