diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2020-04-02 22:29:26 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-03 15:18:55 +0000 |
commit | d6a90860085a907e739d1dcfdc56887eca7bb715 (patch) | |
tree | 05f3d4d8ee4e13acd94ad735fd5588c31986567c | |
parent | 6540acb12aeeb2327f81d2c6ef3b73626554b13f (diff) | |
download | mongo-d6a90860085a907e739d1dcfdc56887eca7bb715.tar.gz |
SERVER-47266 Terser "new session" logs from shell
-rw-r--r-- | src/mongo/shell/mongo.js | 6 |
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; |