in reply to Log Write position
In order to match start and end lines in the log for interleaving jobs, you could include the process number in the log message. This is held in the perl variable $$.