Improve logging for gatekeeper