summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2020-04-02 22:29:26 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-03 15:18:55 +0000
commitd6a90860085a907e739d1dcfdc56887eca7bb715 (patch)
tree05f3d4d8ee4e13acd94ad735fd5588c31986567c
parent6540acb12aeeb2327f81d2c6ef3b73626554b13f (diff)
downloadmongo-d6a90860085a907e739d1dcfdc56887eca7bb715.tar.gz
SERVER-47266 Terser "new session" logs from shell
-rw-r--r--src/mongo/shell/mongo.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/shell/mongo.js b/src/mongo/shell/mongo.js
index db7733a1c79..3e378bb1dec 100644
--- a/src/mongo/shell/mongo.js
+++ b/src/mongo/shell/mongo.js
@@ -574,9 +574,9 @@ Mongo.prototype.startSession = function startSession(options = {}) {
// Only log this message if we are running a test
if (typeof TestData === "object" && TestData.testName) {
- jsTest.log("New session started with sessionID: " +
- tojsononeline(newDriverSession.getSessionId()) +
- " and options: " + tojsononeline(options));
+ print("New session started with sessionID: " +
+ tojsononeline(newDriverSession.getSessionId()) +
+ " and options: " + tojsononeline(options));
}
return newDriverSession;