Skip to content
Browse files

SERVER-12887: change order of syslog options in help

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
  • Loading branch information...
1 parent 3c70a41 commit 65151ad29acbc2e8ba0fd6eec9692752f8f3fcf6 @tychoish tychoish committed with kangas Feb 25, 2014
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/mongo/db/server_options_helpers.cpp
View
10 src/mongo/db/server_options_helpers.cpp
@@ -183,6 +183,11 @@ namespace {
.format("(:?syslog)|(:?file)", "(syslog/file)");
#ifndef _WIN32
+ options->addOptionChaining("systemLog.syslog", "syslog", moe::Switch,
+ "log to system's syslog facility instead of file or stdout")
+ .incompatibleWith("systemLog.logpath")
+ .setSources(moe::SourceAllLegacy);
+
options->addOptionChaining("systemLog.syslogFacility", "syslogFacility", moe::String,
"syslog facility used for monogdb syslog message");
@@ -237,11 +242,6 @@ namespace {
options->addOptionChaining("processManagement.fork", "fork", moe::Switch,
"fork server process");
- options->addOptionChaining("systemLog.syslog", "syslog", moe::Switch,
- "log to system's syslog facility instead of file or stdout")
- .incompatibleWith("systemLog.logpath")
- .setSources(moe::SourceAllLegacy);
-
#endif
/* support for -vv -vvvv etc. */

0 comments on commit 65151ad

Please sign in to comment.
Something went wrong with that request. Please try again.