Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7869

Display error code when logRotate is unable to rename log file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.3, 2.3.2
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tad Tad Marshall
              Reporter:
              tad Tad Marshall
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: