summaryrefslogtreecommitdiff
path: root/src/mongo/util/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/log.cpp')
-rw-r--r--src/mongo/util/log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/log.cpp b/src/mongo/util/log.cpp
index 34421f3aecb..b778b8cc006 100644
--- a/src/mongo/util/log.cpp
+++ b/src/mongo/util/log.cpp
@@ -137,7 +137,7 @@ namespace mongo {
LogIndentLevel::~LogIndentLevel() {
}
- Tee* const warnings = new RamLog("warnings"); // Things put here go in serverStatus
- Tee* const startupWarningsLog = new RamLog("startupWarnings"); // intentionally leaked
+ Tee* const warnings = RamLog::get("warnings"); // Things put here go in serverStatus
+ Tee* const startupWarningsLog = RamLog::get("startupWarnings"); // intentionally leaked
} // namespace mongo