diff options
Diffstat (limited to 'steuermann')
-rw-r--r-- | steuermann/run.py | 1 | ||||
-rw-r--r-- | steuermann/run_all.py | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/steuermann/run.py b/steuermann/run.py index 63900dd..388b366 100644 --- a/steuermann/run.py +++ b/steuermann/run.py @@ -149,7 +149,6 @@ class runner(object): raise # open the log file, write initial notes - print "LOGFILE",logfile_name logfile=open(logfile_name,"w") logfile.write('%s %s\n'%(datetime.datetime.now(),run)) logfile.flush() diff --git a/steuermann/run_all.py b/steuermann/run_all.py index 71cabd1..4d995cf 100644 --- a/steuermann/run_all.py +++ b/steuermann/run_all.py @@ -376,7 +376,7 @@ def run_all(xnodes, run_name, db) : register_database(db, run_name, xnodes) - runner = run.runner( xnodes, steuermann.config.logdir ) + runner = run.runner( xnodes ) while 1 : @@ -440,7 +440,7 @@ def run_step( runner, xnodes, run_name, db ) : else : try : - tmp = runner.run(x, run_name, no_run=no_run, logfile = make_log_file_name(run_name, host, table, cmd) ) + tmp = runner.run(x, run_name, no_run=no_run, logfile_name = make_log_file_name(run_name, host, table, cmd) ) except run.run_exception, e : now = str(datetime.datetime.now()) db.execute("UPDATE sm_status SET start_time=?, end_time=?, status='E', notes=? WHERE ( run=? AND host=? AND tablename=? AND cmd=? )", |