What does the BufferMessage property in the MessageLogging policy do? I’ve been unable to find any documentation on this property. We use this policy to log different pieces of data and we’re finding that this policy is breaking our response streaming functionality for large payloads. For the variables being used, none of these variables attempt to touch the payload so I’m at a loss in figuring out why this wasn’t working. I’ve zeroed in on this property, but am unsure what it really does even though I think I may know.
<MessageLogging enabled="false" continueOnError="true" async="true" name="LogMessage">
<FaultRules/>
<Properties/>
<BufferMessage>true</BufferMessage>
<File async="true">
<FileName>apiDataLog.log</FileName>
<FileRotationOptions rotateFileOnStartup="false">
<MaxFileSizeInMB>50</MaxFileSizeInMB>
<MaxFilesToRetain>10</MaxFilesToRetain>
<RotationFrequency unit="day">1</RotationFrequency>
<FileRotationType>SIZE</FileRotationType>
</FileRotationOptions>
<FlushAfterEachWrite>true</FlushAfterEachWrite>
<Message> Logging time = {system.time} | Timestamp = {system.timestamp} | Log Level = {logging.loglevel} | Environment = {environment.name} | API = {apiproxy.name} | ClientID = {client_id} | App = {developer.app.name} | Data = {logging.data}
</Message>
</File>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
</MessageLogging>