diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2020-09-11 20:04:06 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-14 17:16:39 +0000 |
commit | ec929e17993ade6e0258aab73fd8024d1cb6180f (patch) | |
tree | d6491b868115e9b4714e2f13731076dfd7048017 /src/mongo/logv2 | |
parent | aa1d8cc685874e6530c589ab10c6260c2533c5b0 (diff) | |
download | mongo-ec929e17993ade6e0258aab73fd8024d1cb6180f.tar.gz |
SERVER-20359 Rename terse(UTC)CurrentTime to terseCurrentTimeForFilename()
Diffstat (limited to 'src/mongo/logv2')
-rw-r--r-- | src/mongo/logv2/log_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/logv2/log_util.cpp b/src/mongo/logv2/log_util.cpp index 0e7a6526a80..b37e98b6bed 100644 --- a/src/mongo/logv2/log_util.cpp +++ b/src/mongo/logv2/log_util.cpp @@ -50,7 +50,7 @@ void addLogRotator(LogRotateCallback cb) { bool rotateLogs(bool renameFiles) { // Rotate on both logv1 and logv2 so all files that need rotation gets rotated - std::string suffix = "." + terseCurrentTime(false); + std::string suffix = "." + terseCurrentTimeForFilename(); LOGV2(23166, "Log rotation initiated", "suffix"_attr = suffix); bool success = true; |