summaryrefslogtreecommitdiff
path: root/src/mongo/db/free_mon
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2020-03-02 17:48:47 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-14 17:02:16 +0000
commitcdf9ea3b479bbffc1de900884ee10e29e7349bd2 (patch)
tree0da63f8345d2d0dc7e79b407da1726486fddbecb /src/mongo/db/free_mon
parent298652908ebcc41ba28b1d68a3c6a90486ccce98 (diff)
downloadmongo-cdf9ea3b479bbffc1de900884ee10e29e7349bd2.tar.gz
SERVER-46568 removing the unittestOutput domain
Diffstat (limited to 'src/mongo/db/free_mon')
-rw-r--r--src/mongo/db/free_mon/free_mon_controller_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/free_mon/free_mon_controller_test.cpp b/src/mongo/db/free_mon/free_mon_controller_test.cpp
index a005064d1b1..331770e7275 100644
--- a/src/mongo/db/free_mon/free_mon_controller_test.cpp
+++ b/src/mongo/db/free_mon/free_mon_controller_test.cpp
@@ -27,7 +27,7 @@
* it in the license file.
*/
-#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kControl
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kControl
#include "mongo/platform/basic.h"
@@ -68,6 +68,7 @@
#include "mongo/unittest/temp_dir.h"
#include "mongo/unittest/unittest.h"
#include "mongo/util/clock_source.h"
+#include "mongo/util/hex.h"
namespace mongo {
@@ -75,8 +76,7 @@ namespace {
auto makeRandom() {
auto seed = SecureRandom().nextInt64();
- unittest::log() << "PseudoRandom(" << std::showbase << std::hex << seed << std::dec
- << std::noshowbase << ")";
+ LOGV2(24189, "PseudoRandom()", "seed"_attr = seed);
return PseudoRandom(seed);
}