Direct logging in elasticsearch works. Useful for logging simple exceptions.