[SERVER-7869] Display error code when logRotate is unable to rename log file Created: 07/Dec/12 Updated: 11/Jul/16 Resolved: 07/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.3, 2.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tad Marshall | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
When the rename operation fails in a logRotate, we print the 'from' and 'to' filenames but not the error code we got from the failing operation. The logged line is also missing an 'endl', so the Fatal Assertion that follows is logged on the same line. |
| Comments |
| Comment by auto [ 08/Jan/13 ] |
|
Author: {u'date': u'2012-12-07T09:29:43Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: Also report target filename on rename failure at startup, add |
| Comment by auto [ 07/Dec/12 ] |
|
Author: {u'date': u'2012-12-07T09:29:43Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: Also report target filename on rename failure at startup, add |