File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -278,14 +278,16 @@ async def submit_batch_script(self):
278
278
if hasattr (self , "user_options" ):
279
279
subvars .update (self .user_options )
280
280
script = await self ._get_batch_script (** subvars )
281
- self .log .info ("Spawner submitting job using " + cmd )
282
- self .log .info ("Spawner submitted script:\n " + script )
281
+ self .log .info ("Spawner script options: %s" , subvars )
282
+ self .log .info ("Spawner submitting command: %s" , cmd )
283
+ self .log .debug ("Spawner submitting script:\n %s" , script )
284
+ self .log .debug ("Spawner submitting environment: %s" , self .get_env ())
283
285
out = await self .run_command (cmd , input = script , env = self .get_env ())
284
286
try :
285
- self .log .info ("Job submitted. cmd: " + cmd + " output: " + out )
287
+ self .log .info ("Job submitted. output: %s" , out )
286
288
self .job_id = self .parse_job_id (out )
287
289
except :
288
- self .log .error ("Job submission failed with exit code " + out )
290
+ self .log .error ("Job submission failed. exit code: %s" , out )
289
291
self .job_id = ""
290
292
return self .job_id
291
293
You can’t perform that action at this time.
0 commit comments