Nettoyage du fichier de log

This commit is contained in:
GERALD NICOLAS 2021-04-08 08:59:18 +02:00
parent 5a81ccdc33
commit 4063103961

View File

@ -36,7 +36,7 @@ loglevel = warning
logging.basicConfig(format='%(funcName)s[%(lineno)d] %(message)s', \
level=logging.WARNING, \
filename=filelog)
filename=filelog, filemode='w')
ch = None
fh = None