On 1/19/07, Ian Chesal <ICHESAL@xxxxxxxxxx> wrote:
>From the 6.8.x manual page for condor_submit for the error setting it says: "The error file and the output file should not be the same file as the outputs will overwrite each other or be lost." Is there no way to circumvent this restriction? I'd like to see stderr and stdout in one file so the temporal relationship between info and error messages in my jobs is preserved.
you can run your job with a batch script wrapper and redirect the stderr to stdout (obviously OS dependent) windows (just taking a guess ;) http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true your_real_exe %* 2>&1 which will pass through all the arguments and redirect stderr to stdout. Obviously if the batch itself dies you would still want the stderr just in case. Obviously the pain with this is the executable changes to being a transfer_input_file and anything which wanted to introspect the executable from the class ad won't work anymore. You could get round that in various ways though. Matt