From: Paul RASCLE Date: Fri, 15 Apr 2016 15:50:49 +0000 (+0200) Subject: general crack dialog: working on log... X-Git-Tag: V7_8_0a2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7fd18ae8b1ffffdb02816645ec7147e9b70711df;p=modules%2Fsmesh.git general crack dialog: working on log... --- diff --git a/src/Tools/blocFissure/gmu/construitFissureGenerale.py b/src/Tools/blocFissure/gmu/construitFissureGenerale.py index ddffac389..f75c2742b 100644 --- a/src/Tools/blocFissure/gmu/construitFissureGenerale.py +++ b/src/Tools/blocFissure/gmu/construitFissureGenerale.py @@ -12,6 +12,7 @@ from salome.smesh import smeshBuilder import SMESH import math import bisect +import traceback # from extractionOrientee import extractionOrientee # from extractionOrienteeMulti import extractionOrienteeMulti @@ -51,6 +52,7 @@ from construitMaillagePipe import construitMaillagePipe from mailleAretesEtJonction import mailleAretesEtJonction from mailleFacesFissure import mailleFacesFissure from mailleFacesPeau import mailleFacesPeau +from fissError import fissError # ----------------------------------------------------------------------------- # --- procédure complète fissure générale diff --git a/src/Tools/blocFissure/gmu/initLog.py b/src/Tools/blocFissure/gmu/initLog.py index c9c78b30c..bc427de1d 100644 --- a/src/Tools/blocFissure/gmu/initLog.py +++ b/src/Tools/blocFissure/gmu/initLog.py @@ -12,6 +12,7 @@ loglevel = warning def setDebug(logfile=None): global loglevel + logging.shutdown() if logfile: logging.basicConfig(filename=logfile, format='%(relativeCreated)d %(funcName)s[%(lineno)d] %(message)s', @@ -24,6 +25,7 @@ def setDebug(logfile=None): def setVerbose(logfile=None): global loglevel + logging.shutdown() if logfile: logging.basicConfig(filename=logfile, format='%(relativeCreated)d %(funcName)s[%(lineno)d] %(message)s', @@ -36,6 +38,7 @@ def setVerbose(logfile=None): def setRelease(logfile=None): global loglevel + logging.shutdown() if logfile: logging.basicConfig(filename=logfile, format='%(funcName)s[%(lineno)d] %(message)s', @@ -48,6 +51,7 @@ def setRelease(logfile=None): def setUnitTests(logfile=None): global loglevel + logging.shutdown() if logfile: logging.basicConfig(filename=logfile, format='%(funcName)s[%(lineno)d] %(message)s', @@ -60,6 +64,7 @@ def setUnitTests(logfile=None): def setPerfTests(logfile=None): global loglevel + logging.shutdown() if logfile: logging.basicConfig(filename=logfile, format='%(relativeCreated)d %(funcName)s[%(lineno)d] %(message)s',