summaryrefslogtreecommitdiff
path: root/src/mongo/shell/mongo.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/mongo.js')
-rw-r--r--src/mongo/shell/mongo.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/shell/mongo.js b/src/mongo/shell/mongo.js
index fbdff5d61bd..7fb711d8a91 100644
--- a/src/mongo/shell/mongo.js
+++ b/src/mongo/shell/mongo.js
@@ -88,9 +88,7 @@ Mongo.prototype.setLogLevel = function(logLevel, component) {
} else if (component !== undefined) {
throw Error("setLogLevel component must be a string:" + tojson(component));
}
- var vDoc = {
- verbosity: logLevel
- };
+ var vDoc = {verbosity: logLevel};
// nest vDoc
for (var key, obj; componentNames.length > 0;) {