[SERVER-5952] Remove authenticate messages from --quiet logging Created: 29/May/12  Updated: 31/Jul/15  Resolved: 12/Nov/14

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

Type: Improvement Priority: Minor - P4
Reporter: tom vo Assignee: Benety Goh
Resolution: Done Votes: 10
Labels: community-team, logging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-5847 Increase log level on authenticate co... Closed
is related to DOCS-4348 Inconsistent recommendation for --qui... Closed
Backwards Compatibility: Minor Change
Sprint: Server 2.7.4, Server 2.7.5, Server 2.7.6
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 12/Nov/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-5952 Remove authenticate messages from --quiet logging
Branch: master
https://github.com/mongodb/mongo/commit/4949daa51bbd5104d666082e968e6dd81c22f2bd

Comment by Feng Deng [ 16/Jul/14 ]

Wondering if any updates on this? Thanks.

Comment by Nic Cottrell (Personal) [ 24/Jun/14 ]

Still getting this on one node in the replica set even after upgrading from 2.4.10 to 2.6.3 and I'm on CentOS.

Comment by Nic Cottrell (Personal) [ 05/Jun/14 ]

I'm getting around 60 logs/second with user "__system" and I don't know the origin of these. I have a 2-shard setup with a web app spread out over 3 servers. I'm not doing anything special, so what is triggering all these authenticates anyway?

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