Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 0762f775 authored by Thomas Lavocat's avatar Thomas Lavocat
Browse files

Add possibility to add debug infos

parent 0aa1bb73
Pipeline #11501 failed with stages
in 16 seconds
...@@ -10,10 +10,12 @@ import sys, traceback, threading, time ...@@ -10,10 +10,12 @@ import sys, traceback, threading, time
logger = logging.getLogger('yggdrasil') logger = logging.getLogger('yggdrasil')
def argless_runner(Controler): def argless_runner(Controler, logv="CRITICAL"):
erebor = Erebor(True,
"erebor,network,isengard,wrapper,unix_socket,bridge,mpi", log = ["erebor", "network", "isengard", "wrapper",
"CRITICAL", "", "", "") "unix_socket", "bridge", "mpi"]
configure_logger(logger, log, logv, None)
erebor = Erebor(True, log, logv, "", "", "")
def signal_handler(a, b): def signal_handler(a, b):
erebor.terminate() erebor.terminate()
signal.signal(signal.SIGINT, signal_handler) signal.signal(signal.SIGINT, signal_handler)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment