added syslog entry on mac os if groovy is not on the path