-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: Legacy C++ Implementation
-
Component/s: None
For tools, --quiet has ambiguous behavior, since tools cannot manage output logged by shared server code.
This should not cause corruption, as far as we know, since all logged messages will be redirected to stderr in the case where data is written to stdout.
> mongoexport --db test --collection test --dbpath /data/db --quiet --out output.json
expect no output to stdout or stderr, instead see in stdout:
dbexit: 2013-10-29T16:26:09.031-0400 [tools] shutdown: going to close listening sockets...
2013-10-29T16:26:09.031-0400 [tools] shutdown: going to flush diaglog...
2013-10-29T16:26:09.032-0400 [tools] shutdown: going to close sockets...
2013-10-29T16:26:09.032-0400 [tools] shutdown: waiting for fs preallocator...
2013-10-29T16:26:09.032-0400 [tools] shutdown: closing all files...
2013-10-29T16:26:09.032-0400 [tools] closeAllFiles() finished
2013-10-29T16:26:09.032-0400 [tools] shutdown: removing fs lock...