diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2020-02-28 15:46:04 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-28 23:25:35 +0000 |
commit | 74cb40385caadff986539d3b274b60e74772eda1 (patch) | |
tree | 01c9db53fae553d49be8cd614a87fe6b95d85449 /src/mongo/util/log.cpp | |
parent | f9c85d489e1d0dd7e9458d67af3a7675c0f2200c (diff) | |
download | mongo-74cb40385caadff986539d3b274b60e74772eda1.tar.gz |
SERVER-45567 removing util/log.h where I can
Diffstat (limited to 'src/mongo/util/log.cpp')
-rw-r--r-- | src/mongo/util/log.cpp | 9 |
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 |