projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e4827
)
3505: tinker with logging
author
Peter Amstutz <peter.amstutz@curoverse.com>
Thu, 14 Aug 2014 17:17:06 +0000
(13:17 -0400)
committer
Peter Amstutz <peter.amstutz@curoverse.com>
Thu, 14 Aug 2014 17:17:06 +0000
(13:17 -0400)
crunch_scripts/run-command
patch
|
blob
|
history
diff --git
a/crunch_scripts/run-command
b/crunch_scripts/run-command
index 9e8c13fcc6b52c0d268d7f9015c3038bdbe31712..c624e3cadf7ec7fdaad169f04ffb8f34f8bcdd9f 100755
(executable)
--- a/
crunch_scripts/run-command
+++ b/
crunch_scripts/run-command
@@
-1,5
+1,8
@@
#!/usr/bin/env python
+import logging
+logging.basicConfig(level=logging.INFO, format="run-command: %(message)s")
+
import arvados
import re
import os
@@
-15,12
+18,10
@@
import copy
import traceback
import pprint
import multiprocessing
-import logging
import crunchutil.robust_put as robust_put
import crunchutil.vwd as vwd
os.umask(0077)
-logging.basicConfig(format="run-command: %(message)s")
t = arvados.current_task().tmpdir