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

Remove authenticate messages from --quiet logging

    • Minor Change
    • Server 2.7.4, Server 2.7.5, Server 2.7.6

      Dear all
      How to remove authenticate messages from logging.

      Thanks and Regards

      ==========================================================================
      Please refer parameter start up mongod below

      SECONDARY> db.runCommand("getCmdLineOpts");

      { 
              "argv" : [ 
                      "g:\\mongodb\\bin\\mongod", 
                      "--config", 
                      "G:\\mongodb\\configure\\config\\config_27037.conf", 
                      "--service" 
              ], 
              "parsed" : { 
                      "auth" : "true", 
                      "config" : "G:\\mongodb\\configure\\config\\config_27037.conf", 
                      "dbpath" : "G:\\mongodb\\data\\agency\\27037", 
                      "directoryperdb" : "true", 
                      "journal" : "true", 
                      "keyFile" : "G:\\mongodb\\configure\\key\\secret.key", 
                      "logappend" : "true", 
                      "logpath" : "G:\\mongodb\\logs\\log_27037.txt", 
                      "nohttpinterface" : "true", 
                      "oplogSize" : 8192, 
                      "port" : 27037, 
                      "profile" : 0, 
                      "quiet" : "true", 
                      "replSet" : "FPS_Agency", 
                      "rest" : "true", 
                      "service" : true, 
                      "slowms" : 1200 
              }, 
              "ok" : 1 
      } 
      

      ==========================================================================
      Content of log file:

      Tue May 29 02:57:16 [conn948]  authenticate: { authenticate: 1, nonce: "ded244aa185b0e6f", user: "__system", key: "614986df457f0d7eaeb31cbc97c08168" }
      Tue May 29 02:57:39 [conn949]  authenticate: { authenticate: 1, nonce: "51a9df44499150ba", user: "__system", key: "5adb8f5e205f3ffcf9ae3cf0b1848bb7" }
      Tue May 29 02:57:46 [conn950]  authenticate: { authenticate: 1, nonce: "167191d19e96285f", user: "__system", key: "6758b0f1b57d5a41b5ffc5650edc3924" }
      Tue May 29 02:58:09 [conn951]  authenticate: { authenticate: 1, nonce: "14d2e3a0ad2ec11a", user: "__system", key: "b96f02756b0fcf134164f589133bbf58" }
      Tue May 29 02:58:16 [conn952]  authenticate: { authenticate: 1, nonce: "ea782ca2e139ed6c", user: "__system", key: "1fe12c1c5e118e6570bb6e6a8dad1701" }
      Tue May 29 02:58:39 [conn953]  authenticate: { authenticate: 1, nonce: "fa0ae60d5c32eabc", user: "__system", key: "b7966187b67c0bc6f02496e27b448473" }
      Tue May 29 02:58:46 [conn954]  authenticate: { authenticate: 1, nonce: "a6a6f5c364eeca01", user: "__system", key: "0817dbda69f76b582bae61f7248bcf0d" }
      Tue May 29 02:59:09 [conn955]  authenticate: { authenticate: 1, nonce: "cbcaa13637a7496a", user: "__system", key: "2b89f0f4c170907c9564d658a0662ea3" }
      Tue May 29 02:59:16 [conn956]  authenticate: { authenticate: 1, nonce: "4d8937ab7a2e253e", user: "__system", key: "133341b8570abdecfbedc50b59e18888" }
      Tue May 29 02:59:39 [conn957]  authenticate: { authenticate: 1, nonce: "5eab37df5828e17", user: "__system", key: "c30a0d64b5ef7059d6babdf8d8cd1e37" }
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            tom.vo@nexcel.vn tom vo
            Votes:
            10 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: