Added logging stuff
This commit is contained in:
parent
9456933542
commit
3e4f1f4693
2
main.py
2
main.py
|
@ -150,7 +150,7 @@ class QBittorrentAPICaller():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
logging.basicConfig(level=logging.INFO,
|
logging.basicConfig(filename="./log.log", level=logging.INFO,
|
||||||
format='%(levelname)-8s %(message)s')
|
format='%(levelname)-8s %(message)s')
|
||||||
|
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
|
|
Loading…
Reference in New Issue