Hi there,
I’m new to Apigee X, coming from Apigee Edge, and I have a question regarding logging.
quest1: What is currently the best approach for logging in Apigee X when using only service accounts and including them during proxy deployment?
I’ve seen options like using the MessageLogging extension for Cloud Logging and the PublishMessage policy for Pub/Sub. On the other hand, I’ve also seen examples where FlowCallout is used with manual service account authentication — like in this GitHub example: GitHub - g-lalevee/Apigee-GCP-Services.
Is there still any reason today not to use extensions?
What’s the best and easiest way to handle logging — especially with CI/CD in mind?
quest2: I cannot use publishMessage policy to publish to Pub/Sub in the postClientFlow. Is it possible to use it via a shared flow in the postClientFlow, or is this not possible?
Thanks in advance for your insights!