]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Nettoyage du fichier de log
authorGERALD NICOLAS <D68518@dsp0864451.atlas.edf.fr>
Thu, 8 Apr 2021 06:59:18 +0000 (08:59 +0200)
committerGERALD NICOLAS <D68518@dsp0864451.atlas.edf.fr>
Thu, 8 Apr 2021 06:59:18 +0000 (08:59 +0200)
src/Tools/blocFissure/gmu/initLog.py

index 01918d56d67bf4d22c4687839fc69f1315d2f6e7..30e82eebf431706bdbc1a8689b8d777a69daba5c 100644 (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