Skip to content
Snippets Groups Projects
Commit 9ecb4c3f authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO
Browse files

STYLE : Add log messages for application executions

parent b4f2b077
No related branches found
Tags 1.1.0_beta_2
2 merge requests!52Merge for v1.1.0,!47TSX/PAZ/TDX processing in python_src
......@@ -366,7 +366,7 @@ class ConfigFile():
raise DiapOTBException("EOF_PATH : %s does not exist" %eof_path)
except KeyError:
logger.warning("EOF PATH does not exist for this configuration file")
logger.info("EOF PATH does not exist for this configuration file")
return eof_path
......
......@@ -8,6 +8,7 @@ Application wrapper to call OTB/DiapOTB applications
import otbApplication as otb
from diapotb.lib.core.DiapOTBExceptions import DiapOTBException
from diapotb.lib.core.Utils import logger
class OTBApplicationWrapper():
......@@ -196,6 +197,8 @@ class OTBApplicationWrapper():
if "ram" not in self._app.GetParameters() and self._use_ram_parameter:
self._app.SetParameterString("ram", str(self.RAM))
logger.info("{} execution .....".format(self._app.GetName()))
if in_memory:
self._app.Execute()
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment