[SERVER-8160] The rotateLogs() function doesn't print errno when the rename() fails Created: 13/Jan/13 Updated: 15/Feb/13 Resolved: 13/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | William Zola | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | logging | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Comments |
| Comment by Tad Marshall [ 13/Jan/13 ] | ||||
|
See | ||||
| Comment by Eric Milkie [ 13/Jan/13 ] | ||||
| Comment by William Zola [ 13/Jan/13 ] | ||||
|
From LoggingManager.rotate() in util/log.cpp:
This code should print the value of errno, so that if the call fails at a user's site, it's possible to easily diagnose what went wrong. |