Increasing message logging maximum size

Hi all.

New to this forum.

We are running private edge 4.19.01.

I am using a Message Log Policy. Data written can get big.

The payload size is approx 750KB.

Here is the error in mp's system.log

2020-07-20 11:47:48,418 org:myorg env:myenv api:WhateverApi rev:17 messageid:someservername-17595-699300-1 policy:FlowLogger Apigee-Main-16 ERROR FILE_LOGGER - BufferedWriter.bufferMessage() : Failed to write to the buffer -5
2020-07-20 11:47:48,418 org:myorg env:myenv api:WhateverApi rev:17 messageid:someservername-17595-699300-1  Apigee-Main-16 ERROR MESSAGING.FLOW - AbstractAsyncExecutionStrategy$AsyncExecutionTask.logException() : Exception caught Log message size exceeded. Increase the max message size setting 

I see that a property named conf_message-logging_max.log.message.size.in.kb must be set in the /opt/apigee/customer//application/message-processor.properties file.

I set it as follows:

conf_message-logging_max.log.message.size.in.kb=10240 

I restarted MP and searched for the var's value:

apigee-service edge-message-processor configure -search conf_message-logging_max.log.message.size.in.kb 

result is:

Found key conf_message-logging_max.log.message.size.in.kb, with value, 128, in /opt/apigee/edge-message-processor/token/default.properties
Found key conf_message-logging_max.log.message.size.in.kb, with value, 10240, in /opt/apigee/customer//application/message-processor.properties 

But it didn't help and error keeps occuring.

Can anyone help out with this issue?

0 0 343
0 REPLIES 0