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

TLS info message isn't captured into system log

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.5, 4.1.7
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Minor Change
    • ALL
    • v4.0
    • Security 2018-12-17

      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)

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

              Created:
              Updated:
              Resolved: