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

Better error if log points to existing directory

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.1
    • Affects Version/s: 1.6.2
    • Component/s: None
    • Labels:
      None
    • ALL

      If the log filepath points to an existing directory display an error saying this.

      Right now you get something like this: "can't open [c:\temp\mongodblogs] for log file: errno:13 The data is invalid."

      It would be much more helpful to have "errno:13 The data is invalid. Can't open [c:\temp\mongodblogs]. It cannot be used for a log file-path since it is a directory.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: