[SERVER-8530] Don't log twice for unauthorized operation Created: 12/Feb/13 Updated: 11/Jul/16 Resolved: 27/Feb/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging, Security |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.0-rc2 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
| Comments |
| Comment by auto [ 27/Feb/13 ] |
|
Author: {u'date': u'2013-02-26T17:31:10Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by Spencer Brody (Inactive) [ 21/Feb/13 ] |
|
Looking at the code, it seems like this is not just a problem with auth, but with any error when performing a query. Offending lines are https://github.com/mongodb/mongo/blob/master/src/mongo/db/instance.cpp#L278 and 23 lines down on line 301. |