[SERVER-13471] Increase log level of "did reduceInMemory" message in map/reduce Created: 03/Apr/14  Updated: 31/Jul/15  Resolved: 01/Jul/14

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 2.6.6, 2.7.3

Type: Improvement Priority: Minor - P4
Reporter: Thomas Rueckstiess Assignee: Thomas Rueckstiess
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backport Completed:
Sprint: Server 2.7.1, Server 2.7.3
Participants:

 Description   

src/mongo/db/commands/mr.cpp:1135:                LOG(1) << "  MR - did reduceInMemory: size=" << oldSize << " dups=" << _dupCount << " newSize=" << _size << " time=" << t.millis() << "ms" << endl

On log level 1, this message prints thousands of lines to the log file, even for short map/reduce jobs (10000 lines in 20 seconds). This makes it hard to diagnose other issues unrelated to map/reduce tasks on that log level.

I'd suggest to increase the level to 2 or 3.



 Comments   
Comment by Githook User [ 01/Jul/14 ]

Author:

{u'username': u'rueckstiess', u'name': u'Thomas Rueckstiess', u'email': u'thomas@rueckstiess.net'}

Message: SERVER-13471 map reduce loglevel changes for debug messages

Signed-off-by: Benety Goh <benety@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/8407b0ebabc5d11feeae22d4ed6d4d709d13a493

Generated at Thu Feb 08 03:31:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.