[SERVER-23170] Remove lingering uses of std::cout and associated iostreams Created: 16/Mar/16 Updated: 06/Dec/22 Resolved: 13/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | DO NOT USE - Backlog - Dev Tools |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | ?, log-verbosity, move-sec | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Developer Tools
|
||||||||
| Participants: | |||||||||
| Description |
|
We have some handful of instances of use of std::cout and std::cerr in the src/mongo directory. We should audit these, and replace the ones we want to keep with the logging system. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 16/Mar/16 ] |
|
Along with this, the print.h header should be forbidden to be checked in with a lint rule, and existing usages of the PRINT macro should all be removed. |
| Comment by Andrew Morrow (Inactive) [ 16/Mar/16 ] |
|
This should probably include adding lint rules forbidding their usage (as well as the iostream header). |