📃 Store logs in 'build.log' file

This commit is contained in:
ful1e5 2020-08-26 12:02:00 +05:30
parent befee63177
commit 95723d96aa
2 changed files with 7 additions and 0 deletions

6
log.py Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env python
import logging
logging.basicConfig(filename='build.log', filemode='w',
format='%(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)