Logging of log line attempted (10kB) over max size (10kB)

232 views
Skip to first unread message

Andrew Watson

unread,
Mar 19, 2019, 5:11:02 PM3/19/19
to mongodb-user
After updating a Mongo replica set to 3.6.11, I see these warnings in the log:

2019-03-19T15:18:26.158-0400 I REPL     [repl writer worker 4] warning: log line attempted (10kB) over max size (10kB), printing beginning and end ... applied op: CRUD 

They are coded as REPL events, and are therefore triggering alerts based on REPL events. I don't believe this is indicating a real issue in my case, but I'd like to be able to disable these alerts, or change the code so I don't need to modify the alert. (Other REPL events are worth alerting, on - I don't think this one is).

Thanks for any insight.
Andrew

Wan Bachtiar

unread,
Mar 22, 2019, 1:32:06 AM3/22/19
to mongodb-user

They are coded as REPL events, and are therefore triggering alerts based on REPL event

Hi Andrew,

What kind of alerts are you referring to ? i.e. custom alerts or MongoDB Atlas alerts.
If this is a custom alerts based on log entries, are you able to configure the alerts to ignore these log entries ?

I don’t believe this is indicating a real issue in my case

To clarify, this is the logger truncating log messages that are larger than 10kB size (default).

Regards,
Wan.

Andrew Watson

unread,
Mar 22, 2019, 8:14:54 AM3/22/19
to mongodb-user
They are custom alerts, these logs go into Splunk, and Splunk alerts based on patterns found in the logs. 
I guess the question is why these messages, indicating a normal truncation of a log event, seem to now contain the REPL message code. I guess I can modify the Splunk alert to ignore THIS kind of REPL message, but alert on other kinds, but it seems like a clumsy workaround.

Andrew Watson

unread,
Mar 25, 2019, 10:47:54 AM3/25/19
to mongodb-user


Just to close the loop on this in case anyone else runs into it - we believe the logging behavior change was related to:

Reply all
Reply to author
Forward
0 new messages