[SERVER-45491] Add resmoke.py option to save mongod.log and mongos.log files Created: 10/Jan/20 Updated: 29/Oct/23 Resolved: 28/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Raiden Worley (Inactive) | Assignee: | Raiden Worley (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tig-resmoke | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | STM 2020-01-23, STM 2020-02-10 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Story Points: | 2 | ||||||||||||||||
| Description |
|
SERVER-45491.patch When resmoke.py runs replica set tests, the mongod servers log to stdout by default. This can be overridden only by modifying the Javascript test code to pass useLogFiles to ReplSetTest. It would be useful to me have a way, without modifying the Javascript test code, to make the servers log to files for post-test analysis. I propose a resmoke.py command-line option that enables logging to disk and prevents post-test cleanup of the logfiles. |
| Comments |
| Comment by A. Jesse Jiryu Davis [ 28/Jan/20 ] |
|
Thank you! |
| Comment by Githook User [ 28/Jan/20 ] |
|
Author: {'email': 'carl.worley@10gen.com', 'name': 'Carl Raiden Worley', 'username': 'aggrand'}Message: |
| Comment by Raiden Worley (Inactive) [ 10/Jan/20 ] |
|
jesse Thanks for attaching! I'll take a look. |
| Comment by A. Jesse Jiryu Davis [ 10/Jan/20 ] |
|
I've attached a patch that works for me. |