[SERVER-23810] Don't Print Shell Log Messages to STDOUT When --quiet Is Used Created: 19/Apr/16 Updated: 06/Dec/22 Resolved: 03/Dec/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Ilya Ivanov | Assignee: | Backlog - Server Tooling and Methods (STM) (Inactive) |
| Resolution: | Won't Fix | Votes: | 5 |
| Labels: | move-stm | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Server Tooling & Methods
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
C:\MongoDB\bin>mongo May we please have a way of getting rid of this warning message? What is especially annoying is that the warning is there no matter if I have the hotfix installed or not. This is what I used to get before I got the hotfix installed: C:\MongoDB\bin>mongo.exe |
| Comments |
| Comment by Brooke Miller [ 03/Dec/21 ] | |||||||||||||||||||
|
We've deprecated the mongo shell in favor of the new mongosh. Unfortunately, we aren't able to pursue improvements to the deprecated shell except in extreme cases, such as critical security fixes. Please start making use of mongosh and let us know if it works for you in this case. | |||||||||||||||||||
| Comment by Dave Macias [ 27/Sep/19 ] | |||||||||||||||||||
|
Same issue with v4.0.12
| |||||||||||||||||||
| Comment by Apostrophe Cloud [ 26/Sep/19 ] | |||||||||||||||||||
|
Not just a Mac issue. Seeing it in 3.6.14 on CentOS 7 when connecting to an Atlas URI. It is a bummer that --quiet isn't really usable. Still figuring out what I can even do short of wrapping a node script or praying I'm filtering out all the right noise. | |||||||||||||||||||
| Comment by Eric Milkie [ 16/May/18 ] | |||||||||||||||||||
|
The new task in this ticket, as described, is to not print "log messages". Does that include all shell output other than JSON responses to commands? | |||||||||||||||||||
| Comment by Ilya Ivanov [ 16/May/18 ] | |||||||||||||||||||
|
@Matt Lord, yes, absolutely: --quiet being quiet is the main purpose. Even without --quiet though, I'm not sure the message is still useful, as @Eric Milkie has pointed out above. | |||||||||||||||||||
| Comment by Matt Lord (Inactive) [ 16/May/18 ] | |||||||||||||||||||
|
zzayats, are you OK with me generalizing this? I believe the real Task is this: Don't Print Log Messages to STDOUT When --quiet is Used But I wanted to double check with you first. Thank you for the ticket, and thank you for using MongoDB! | |||||||||||||||||||
| Comment by Eric Milkie [ 16/May/18 ] | |||||||||||||||||||
|
This message is printed via a MONGO_INITIALIZER just like the Hotfix message. It's only for the Apple implementation of SSL, and the message is of little utility (we don't print any such message for any other platforms...), so we should remove it. | |||||||||||||||||||
| Comment by Jonathan Abrahams [ 16/May/18 ] | |||||||||||||||||||
|
In version 3.7.5 we now see this message:
| |||||||||||||||||||
| Comment by Ilya Ivanov [ 19/Apr/16 ] | |||||||||||||||||||
|
Windows 7 64 |