Modification of the job wrapper scripts
- use subprocess module to spawn the application process which should use the sys.__stdout__ and sys.__stderr__ of the parent process (wrapper script)
- save output of wrapper script in the log file separately from application output by overdding sys.stdout and sys.stderr
- find out where LSF (and other batch) store the stdout and stderr files (env variables) and make it a parameter to the monitoring service (for octopus etc.)
In this way the bpeek() may work again and current logic is preserved.
--
JakubMoscicki - 17 Jul 2007