X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FdaComposant%2FdaCore%2FExtendedLogging.py;h=2da4d7e654bc9a0f3aca93aee4135c49eb5d06f5;hb=069f0f7fe7697e40e3535257789ee3168210748f;hp=70b015b08ceea53e8b6bf52123c688853416e5fa;hpb=67a9e7898a4e0455f469b63898f42e965da0b33e;p=modules%2Fadao.git diff --git a/src/daComposant/daCore/ExtendedLogging.py b/src/daComposant/daCore/ExtendedLogging.py index 70b015b..2da4d7e 100644 --- a/src/daComposant/daCore/ExtendedLogging.py +++ b/src/daComposant/daCore/ExtendedLogging.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2008-2019 EDF R&D +# Copyright (C) 2008-2022 EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -34,7 +34,7 @@ import ExtendedLogging ; ExtendedLogging.ExtendedLogging(level=20) On peut éventuellement demander à l'objet de sortir aussi les messages dans - un fichier (noms par défaut : Aidsm.log, niveau NOTSET) : + un fichier (noms par défaut : AdaoOutputLogfile.log, niveau NOTSET) : import ExtendedLogging ; ExtendedLogging.ExtendedLogging().setLogfile() Si on veut changer le nom du fichier ou le niveau global de message, il faut @@ -79,7 +79,7 @@ import functools import time from daCore import PlatformInfo -LOGFILE = os.path.join(os.path.abspath(os.curdir),"AssimilationStudy.log") +LOGFILE = os.path.join(os.path.abspath(os.curdir),"AdaoOutputLogfile.log") # ============================================================================== class ExtendedLogging(object):