[SERVER-3112] mongo* tools logs should not log to stdout (broken w/--out -) Created: 17/May/11  Updated: 12/Jul/16  Resolved: 28/Nov/11

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: 2.0.3, 2.1.0

Type: Bug Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Brandon Diamond
Resolution: Done Votes: 3
Labels: mongodump
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-3577 mongoexport verbose logging echoes to... Closed
Related
related to SERVER-2011 mongodump, bsondump and mongoexport s... Closed
is related to SERVER-4169 mongodump should be more quiet Closed
is related to TOOLS-140 bsondump produces invalid JSON Closed
is related to SERVER-9268 Use existing logging framework to sta... Closed
Operating System: ALL
Participants:

 Description   

Log output for tools should probably go to stderr, not stdout; esp. for any tools that writes data to stdout.

http://pastebin.com/eJVJnQZt
http://pastebin.com/NsWjQ0LF



 Comments   
Comment by auto [ 15/Feb/12 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-3112: Improved stdout/err in mongoexport
Branch: v2.0
https://github.com/mongodb/mongo/commit/29cd169c4dccacb86d33bc9e30833ea1ae422d3e

Comment by auto [ 29/Nov/11 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-3112: Improved stdout/err in mongoexport
Branch: master
https://github.com/mongodb/mongo/commit/e9649e05cede70bf83fccf15e2bf209c659a722a

Comment by Eliot Horowitz (Inactive) [ 29/Nov/11 ]

https://github.com/mongodb/mongo/commit/8a79e63cbc99be8f475fa0451095f07a9ac27e5b
https://github.com/mongodb/mongo/commit/1ffc5fd9e578ce5a9c58d04ae7f909cc2241d0f4

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