Record and use the process-id to stop the long-running process
Use jQuery to lookup and set the log contents to a text area every few seconds
Record and use the process-id to stop the long-running process
Use jQuery to lookup and set the log contents to a text area every few seconds