[SERVER-46642] db.adminCommand({getLog: "startupWarnings"}) returns all log messages Created: 05/Mar/20 Updated: 05/Mar/20 Resolved: 05/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bruce Lucas (Inactive) | Assignee: | Henrik Edin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
On startup the mongo shell prints thousands of log lines. It looks like db.adminCommand({getLog: "startupWarnings"}) is returning all log lines, not just startup warnings. |