File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1720,7 +1720,7 @@ def write_batch_script(self, n=1):
17201720 # from user config
17211721 ns .update (self .namespace )
17221722 script_as_string = self .formatter .format (self .batch_template , ** ns )
1723- self .log .debug ('Writing batch script: %s' , self .batch_file )
1723+ self .log .debug (f 'Writing batch script: { self .batch_file } \n { script_as_string } ' )
17241724 with open (self .batch_file , 'w' ) as f :
17251725 f .write (script_as_string )
17261726 os .chmod (self .batch_file , stat .S_IRUSR | stat .S_IWUSR | stat .S_IXUSR )
@@ -1745,8 +1745,10 @@ def start(self, n=1):
17451745 # Here we save profile_dir in the context so they
17461746 # can be used in the batch script template as {profile_dir}
17471747 self .write_batch_script (n )
1748+
17481749 output = check_output (self .args , env = os .environ )
17491750 output = output .decode (DEFAULT_ENCODING , 'replace' )
1751+ self .log .debug (f"Submitted { shlex_join (self .args )} . Output: { output } " )
17501752
17511753 job_id = self .parse_job_id (output )
17521754 self .notify_start (job_id )
You can’t perform that action at this time.
0 commit comments