logging and alerting inside a gremlin step - Apache TinkerPop