[SERVER-1619] bsondump informational output goes to STDOUT instead of STDERR Created: 11/Aug/10  Updated: 12/Jul/16  Resolved: 27/Jul/11

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 1.6.0
Fix Version/s: 1.9.2

Type: Bug Priority: Trivial - P5
Reporter: J Greely Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS X 10.6.4, 64-bit


Operating System: ALL
Participants:

 Description   

The STDOUT from bsondump includes a "connected to" header line and a "N objects found" trailer line:

% bsondump dict.bson | head -1
connected to: 127.0.0.1

% bsondump dict.bson | tail -1
Wed Aug 11 15:22:19 878573 objects found



 Comments   
Comment by auto [ 26/Jul/11 ]

Author:

{u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: Make bson tools trailer line go to stderr not stdout: SERVER-1619
Branch: master
https://github.com/mongodb/mongo/commit/7ab832da996558f05cfbeea69c40d2852cf6d68a

Generated at Thu Feb 08 02:57:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.