If you start the task from the web you should be able to cancel it after is seems frozen to get the log.