Add logger to Groovy script evaluation