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.
- is duplicated by
-
SERVER-8160 The rotateLogs() function doesn't print errno when the rename() fails
- Closed
- is related to
-
SERVER-6896 Server crashes if logRotate is issued and the file cannot be rotated
- Closed