-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Trivial - P5
-
None
-
Affects Version/s: 2.0.1
-
Component/s: Shell
-
Environment:linux 64 bit build
when using the shell, the --quiet parameter does suppress the output from the --eval command
For example:
$ mongo <server>/db script.js --eval 'yyyymm="2011-11"'
MongoDB shell version: 2.0.1
connecting to: <server>/test
2011-11
Now with the --quiet parameter, the banner is suppressed, but eval seems to be adding output to stdout.
$ mongo <server>/db script.js --eval 'yyyymm="2011-11"' --quiet
2011-11
It'd be an improvement if the results of the --eval commend respected the --quiet flag.
- is related to
-
SERVER-23810 Don't Print Shell Log Messages to STDOUT When --quiet Is Used
- Closed
- related to
-
SERVER-27159 shell logs output of ReplicaSetMonitorWatcher with --quiet
- Closed