Skip to content
Snippets Groups Projects
Commit f31ab700 authored by Hans Fangohr's avatar Hans Fangohr
Browse files

Merge branch 'introduce-logging-module' of...

Merge branch 'introduce-logging-module' of gitlab.gwdg.de:mpsd-cs/mpsd-software-environments into introduce-logging-module
parents dc93a8fa 52cac2dd
No related branches found
No related tags found
1 merge request!22Introduce logging module
Pipeline #368688 passed
...@@ -164,9 +164,9 @@ def run(*args, counter=[0], **kwargs): ...@@ -164,9 +164,9 @@ def run(*args, counter=[0], **kwargs):
options = ", ".join([f"{key}={value}" for key, value in kwargs.items()]) options = ", ".join([f"{key}={value}" for key, value in kwargs.items()])
# provide information about upcoming subprocess.run call # provide information about upcoming subprocess.run call
logging.info(f"{token} Starting subprocess.run({arg}) with options {options}") logging.info(f"{token} Starting subprocess.run('{command}') with options {options}")
logging.debug(f"{token} getcwd={os.getcwd()}") logging.debug(f"{token} getcwd={os.getcwd()}")
logging.debug(f"{token} COMMAND={command}") logging.debug(f"{token} exact call: subprocess.run({arg})")
time_start = time.time() time_start = time.time()
process = subprocess.run(*args, **kwargs) process = subprocess.run(*args, **kwargs)
......
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