[SERVER-30715] Print replica set config on logRotate Created: 17/Aug/17  Updated: 30/Oct/23  Resolved: 03/Nov/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.11, 3.6.0-rc3

Type: Improvement Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Repl 2017-10-23, Repl 2017-11-13
Participants:

 Description   

Currently whenever the diagnostic log is rotated we print all command line/config file options at the top of the new log file. We should also print the replica set config as well, so that its always possible to know the replset config from looking at any complete log file.



 Comments   
Comment by Githook User [ 27/Nov/17 ]

Author:

{'name': 'Pavithra Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com'}

Message: SERVER-30715 print replSetConfig in rotateLogs

(cherry picked from commit 033086469e2bb85795576ea9748d4dda2915fb5b)
Branch: v3.4
https://github.com/mongodb/mongo/commit/eb186af8ce90bddb8e2927cdd4503a8f83df34e4

Comment by Githook User [ 03/Nov/17 ]

Author:

{'name': 'Pavithra Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com'}

Message: SERVER-30715 print replSetConfig in rotateLogs
Branch: master
https://github.com/mongodb/mongo/commit/033086469e2bb85795576ea9748d4dda2915fb5b

Generated at Thu Feb 08 04:24:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.