Hi
The Message logging policy is not logging any json payload .
For Example request json and response json
policy details
<MessageLogging name="ML-CloudLogging">
<CloudLogging>
<LogName>projects/{organization.name}/logs/apigee</LogName>
<Message contentType="application/json">
{
"organization": "{organization.name}",
"environment": "{environment.name}",
"apiProxy": "{apiproxy.name}",
"apiProxyRevision": "{apiproxy.revision}",
"apiProduct": "{apiproduct.name}",
"developerApp": "{apiproduct.name}",
"clientId": "{client_id}",
"developerId": "{developer.id}",
"requestUri": "{request.uri}",
"requestUrl": "{request.url}",
"verb": "{request.verb}",
"correlationId": "{messageid}",
"proxyRequestReceived": "{client.received.end.timestamp}",
"proxyResponseSent": "{client.sent.end.timestamp}",
"targetResponseReceived": "{target.received.end.timestamp}",
"targetRequestSent": "{target.sent.end.timestamp}",
"targetResponseCode": "{message.status.code}",
"proxyResponseCode": "{response.status.code}",
"clientReceived": "{client.received.start.timestamp}",
"clientSent": "{client.sent.start.timestamp}",
"faultName":"{fault.name}",
"requestData":"{flow.requestPayload}",
"requestId":"{flow.requestId}"
}
</Message>
<Labels>
<Label><Key>apiProxy</Key>
<Value>jsonUpload</Value>
</Label>
</Labels>
<ResourceType>apigee.googleapis.com/Environment</ResourceType>
</CloudLogging>
</MessageLogging>
when I remove the “requestData”:“{flow.requestPayload}”,
Its then working fine