[SERVER-61222] Capture logs from docker to troubleshoot dns_container_tester.js Created: 03/Nov/21 Updated: 29/Oct/23 Resolved: 19/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Security 2021-11-29 | ||||
| Participants: | |||||
| Linked BF Score: | 30 | ||||
| Description |
|
dnsmasq is run inside the container with output sent to stdout. But the container is run detached and so the logs are not captured. Docker provides configurable ways to capture the logs. We should capture them via `json-file` and then output the logs on failure or success. References: |
| Comments |
| Comment by Githook User [ 19/Nov/21 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: |