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

TLS info message isn't captured into system log

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.5, 4.1.7
    • Networking
    • None
    • Minor Change
    • ALL
    • v4.0
    • Security 2018-12-17

    Description

      Because we are logging a TLS message in the command line processing code itself, the logging occurs prior to the parsing of the --logpath parameter. This means any log messages go to stdout instead of the log file. This is apparent if you start mongod with --logpath:

      /data/ent/mongo: ./mongod --replSet foo --dbpath /data/db/r0 -v --logpath ./t.log
      2018-11-27T16:13:56.372-0500 I CONTROL  [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
      

      (and then no other terminal messages appear)

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: