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.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/util/log.cpp b/src/mongo/util/log.cpp
index fdf9bd251ee..b7ab377dd22 100644
--- a/src/mongo/util/log.cpp
+++ b/src/mongo/util/log.cpp
@@ -100,15 +100,6 @@ bool rotateLogs(bool renameFiles) {
return resultv2.isOK() && result.empty();
}
-void logContext(const char* errmsg) {
- if (errmsg) {
- LOGV2(23167, "{errmsg}", "errmsg"_attr = errmsg);
- }
- // NOTE: We disable long-line truncation for the stack trace, because the JSON representation of
- // the stack trace can sometimes exceed the long line limit.
- printStackTrace(log().setIsTruncatable(false).stream());
-}
-
Tee* const startupWarningsLog = RamLog::get("startupWarnings"); // intentionally leaked
} // namespace mongo