[SERVER-5727] log rotate() is missing a lot of error checking Created: 30/Apr/12 Updated: 03/Nov/17 Resolved: 03/Nov/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | polish | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The following functions in rotate() need to have their return statuses checked for errors so we don't have confusing behavior when things fail silently: If these functions fail, we should write to stderr and translate errno. |
| Comments |
| Comment by Eric Milkie [ 03/Nov/17 ] |
|
This code went away when we wrote the new RotatableFileWriter. |