Capture log output - debug unreliable groovy tests