summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralabid <alabidan@gmail.com>2015-01-05 09:31:33 -0500
committerBenety Goh <benety@mongodb.com>2015-01-05 11:35:58 -0500
commit57620924289aff41175c71d06ab27c0c7c8c7ead (patch)
tree81974633b1951cc8776275f4ed0f40020212b686 /src
parentd6aca8833cce3c7f23c6da5f170ee24b7ea5f24b (diff)
downloadmongo-57620924289aff41175c71d06ab27c0c7c8c7ead.tar.gz
SERVER-16718 remove LogIndentLevel from log.h/log.cpp
Closes #900 Signed-off-by: Benety Goh <benety@mongodb.com>
Diffstat (limited to 'src')
-rw-r--r--src/mongo/util/log.cpp7
-rw-r--r--src/mongo/util/log.h7
2 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/util/log.cpp b/src/mongo/util/log.cpp
index cd2a2f426b3..5cd8a819c76 100644
--- a/src/mongo/util/log.cpp
+++ b/src/mongo/util/log.cpp
@@ -51,7 +51,6 @@ using namespace std;
// TODO: Win32 unicode console writing (in logger/console_appender?).
// TODO: Extra log context appending, and re-enable log_user_*.js
// TODO: Eliminate cout/cerr.
-// TODO: LogIndent (for mongodump).
namespace mongo {
@@ -136,12 +135,6 @@ namespace mongo {
printStackTrace(log().stream());
}
- LogIndentLevel::LogIndentLevel() {
- }
-
- LogIndentLevel::~LogIndentLevel() {
- }
-
Tee* const warnings = RamLog::get("warnings"); // Things put here go in serverStatus
Tee* const startupWarningsLog = RamLog::get("startupWarnings"); // intentionally leaked
diff --git a/src/mongo/util/log.h b/src/mongo/util/log.h
index 95a443000cd..5e2ac91c4ab 100644
--- a/src/mongo/util/log.h
+++ b/src/mongo/util/log.h
@@ -189,13 +189,6 @@ namespace {
*/
std::string errnoWithPrefix( const char * prefix );
- // Guard that alters the indentation level used by log messages on the current thread.
- // Used only by mongodump (mongo/tools/dump.cpp). Do not introduce new uses.
- struct LogIndentLevel {
- LogIndentLevel();
- ~LogIndentLevel();
- };
-
extern Tee* const warnings; // Things put here go in serverStatus
extern Tee* const startupWarningsLog; // Things put here get reported in MMS