diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-06-17 11:07:51 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-06-17 14:29:51 -0400 |
commit | ff70eb640552c049538a03d174edbc2c0311c8bd (patch) | |
tree | b80f86a8a41687273513c21ebc67dcd9458d4756 /src/mongo/logger | |
parent | 6032e7c6403e03d32d4b911e5bbe67c89088701f (diff) | |
download | mongo-ff70eb640552c049538a03d174edbc2c0311c8bd.tar.gz |
SERVER-9032: Validate locale on startup
On some Linux machines, users may have not have a locale set which will
cause boost to fail. Validate that the user has a locale set, and if not,
give a useful error message, and exit.
Diffstat (limited to 'src/mongo/logger')
-rw-r--r-- | src/mongo/logger/logger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/logger/logger.cpp b/src/mongo/logger/logger.cpp index b00b9861b2b..8eb22097e96 100644 --- a/src/mongo/logger/logger.cpp +++ b/src/mongo/logger/logger.cpp @@ -55,7 +55,7 @@ namespace logger { * Just in case no static initializer called globalLogManager, make sure that the global log * manager is instantiated while we're still in a single-threaded context. */ - MONGO_INITIALIZER_GENERAL(GlobalLogManager, MONGO_NO_PREREQUISITES, ("default"))( + MONGO_INITIALIZER_GENERAL(GlobalLogManager, ("ValidateLocale"), ("default"))( InitializerContext*) { globalLogManager(); |