[SERVER-1733] Better error if log points to existing directory Created: 04/Sep/10 Updated: 12/Jul/16 Resolved: 07/Sep/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.6.2 |
| Fix Version/s: | 1.7.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
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. |
| Comments |
| Comment by auto [ 07/Sep/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: Better error if logpath is a directory |
| Comment by Mathias Stearn [ 07/Sep/10 ] |
|
New message: logpath [/tmp] should be a file name not a directory |