[SERVER-57659] mongoldap should not log in color to non-tty by default Created: 11/Jun/21 Updated: 29/Oct/23 Resolved: 28/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Aldo Aguilar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Security 2021-06-28 |
| Participants: |
| Description |
|
Mongoldap defaults to outputing in color. It should be changed to not log in color when outputing to a non-tty. By default LDAPToolOptions.color defaults to true on Linux. The color set LDAPToolOptions.color to false if the user did not specify color on the command line. See https://man7.org/linux/man-pages/man3/isatty.3.html for detecting if stdout is a tty.
|
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 25/Jun/21 ] |
|
Author: {'name': 'aldo-aguilar', 'email': 'aldo.aguilar@mongodb.com'}Message: |
| Comment by Githook User [ 23/Jun/21 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: Revert " This reverts commit 8f7446d1eac1f8371bf5a9a464b84357cf1f0315. |
| Comment by Githook User [ 22/Jun/21 ] |
|
Author: {'name': 'aldo-aguilar', 'email': 'aldo.aguilar@mongodb.com'}Message: |
| Comment by Githook User [ 22/Jun/21 ] |
|
Author: {'name': 'aldo-aguilar', 'email': 'aldo.aguilar@mongodb.com'}Message: |
| Comment by Githook User [ 22/Jun/21 ] |
|
Author: {'name': 'aldo-aguilar', 'email': 'aldo.aguilar@mongodb.com'}Message: |
| Comment by Githook User [ 22/Jun/21 ] |
|
Author: {'name': 'aldo-aguilar', 'email': 'aldo.aguilar@mongodb.com'}Message: |