Create logscript.py

This commit is contained in:
Elmon11 2020-11-21 13:38:11 +01:00 committed by GitHub
parent 738e0c579b
commit 7776730602
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
logscript.py Normal file
View file

@ -0,0 +1,3 @@
import logging
logging.basicConfig(level=logging.CRITICAL, format='%(message)s',handlers=[logging.FileHandler('log.log', 'a')])