Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15604

Add log component kControl for startup/shutdown messages

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: Logging
    • Minor Change

      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 "-".

            Assignee:
            matt.kangas Matt Kangas
            Reporter:
            matt.kangas Matt Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: