From 74cb40385caadff986539d3b274b60e74772eda1 Mon Sep 17 00:00:00 2001 From: Gabriel Russell Date: Fri, 28 Feb 2020 15:46:04 -0500 Subject: SERVER-45567 removing util/log.h where I can --- src/mongo/util/log.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/mongo/util/log.cpp') 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 -- cgit v1.2.1