diff options
Diffstat (limited to 'util/ntservice.cpp')
-rw-r--r-- | util/ntservice.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/ntservice.cpp b/util/ntservice.cpp index fe4ae44..22f83a5 100644 --- a/util/ntservice.cpp +++ b/util/ntservice.cpp @@ -56,8 +56,13 @@ namespace mongo { commandLine << arg << " \"" << dbpath << "\" "; i++; continue; + } else if ( arg == "--logpath" && i + 1 < argc ) { + commandLine << arg << " \"" << argv[i+1] << "\" "; + i++; + continue; } else if ( arg.length() > 9 && arg.substr(0, 9) == "--service" ) { // Strip off --service(Name|User|Password) arguments + i++; continue; } commandLine << arg << " "; |