[SERVER-15604] Add log component kControl for startup/shutdown messages Created: 10/Oct/14  Updated: 27/Oct/15  Resolved: 27/Oct/14

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 2.8.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: Matt Kangas Assignee: Matt Kangas
Resolution: Done Votes: 0
Labels: polish
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DOCS-3694 Document named logging Closed
Backwards Compatibility: Minor Change
Participants:

 Description   

As of SERVER-5092 the server logs its initial startup banner with LogComponent::kDefault, which renders as "-". Example:

2014-10-10T15:47:59.291-0400 I -        [initandlisten] MongoDB starting : pid=34519 port=27999 dbpath=/data/db/sconsTests/ 64-bit host=MacBook.local
2014-10-10T15:47:59.291-0400 I -        [initandlisten] _DEBUG build (which is slower)
2014-10-10T15:47:59.291-0400 I -        [initandlisten]
2014-10-10T15:47:59.292-0400 I -        [initandlisten] ** NOTE: This is a development version (2.7.8-pre-) of MongoDB.
2014-10-10T15:47:59.292-0400 I -        [initandlisten] **       Not recommended for production.
2014-10-10T15:47:59.292-0400 I -        [initandlisten]
2014-10-10T15:47:59.292-0400 I -        [initandlisten] db version v2.7.8-pre-

Add a log component specifically for the server's single-threaded mode and change these messages to eliminate the "-".



 Comments   
Comment by Githook User [ 27/Oct/14 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-15604 log component kControl
Branch: master
https://github.com/mongodb/mongo/commit/28373a8a57c5caec25c02efb8b365f20d05387c6

Comment by Eric Milkie [ 10/Oct/14 ]

What should we name this new component?

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