[ARVADOS] updated: 90a8dce6d260d9d2195a4a2c5f7786091c91ab44

Git user git at public.curoverse.com
Thu Sep 28 12:53:34 EDT 2017


Summary of changes:
 sdk/cwl/arvados_cwl/crunch_script.py | 5 +++++
 1 file changed, 5 insertions(+)

       via  90a8dce6d260d9d2195a4a2c5f7786091c91ab44 (commit)
      from  1e91050b7ed7bc04afd235facc7925a19dde88c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 90a8dce6d260d9d2195a4a2c5f7786091c91ab44
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Sep 28 12:52:44 2017 -0400

    12278: Need to set debug logging in crunch_script.py
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/sdk/cwl/arvados_cwl/crunch_script.py b/sdk/cwl/arvados_cwl/crunch_script.py
index 80235e4..12d74a0 100644
--- a/sdk/cwl/arvados_cwl/crunch_script.py
+++ b/sdk/cwl/arvados_cwl/crunch_script.py
@@ -109,6 +109,11 @@ def run():
                                                   fs_access=make_fs_access(""),
                                                   num_retries=runner.num_retries))
 
+        if debug:
+            logger.setLevel(logging.DEBUG)
+            logging.getLogger('arvados').setLevel(logging.DEBUG)
+            logging.getLogger("cwltool").setLevel(logging.DEBUG)
+
         args = argparse.Namespace()
         args.project_uuid = arvados.current_job()["owner_uuid"]
         args.enable_reuse = enable_reuse

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list