[SERVER-68548] mongo shell version 4.4.15 logging asio message despite --quiet flag Created: 03/Aug/22 Updated: 29/Oct/23 Resolved: 25/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | 4.4.15 |
| Fix Version/s: | 6.1.1, 4.4.17, 6.0.2, 6.2.0-rc0, 5.0.22 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Vincent Do | Assignee: | Adam Rayner |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | logging, logs | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v6.1, v6.0, v5.0, v4.4
|
||||||||||||||||||||||||||||||||
| Sprint: | Security 2022-08-22, Security 2022-09-05 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||||||
| Description |
|
I upgraded my mongo 4.4 installation to 4.4.15 today and noticed that the shell logged the following when I'm trying to run a script with the --quiet option:
The same behavior is not observed when I use shell version 4.4.10
While this seems like a trivial bug, this might have a pretty big impact for users who rely on the previous behavior of --quiet for operational scripts. (MongoDB Cloud being one of them). FWIW, I was connecting to a 4.4.13 sharded cluster |
| Comments |
| Comment by Githook User [ 04/Oct/23 ] | ||||
|
Author: {'name': 'Adam Rayner', 'email': 'adam.rayner@gmail.com', 'username': ''}Message: | ||||
| Comment by Githook User [ 16/Sep/22 ] | ||||
|
Author: {'name': 'Adam Rayner', 'email': 'adam.rayner@gmail.com'}Message: | ||||
| Comment by Githook User [ 15/Sep/22 ] | ||||
|
Author: {'name': 'Adam Rayner', 'email': 'adam.rayner@gmail.com'}Message: | ||||
| Comment by Adam Rayner [ 24/Aug/22 ] | ||||
|
This appears to be a side effect from a backported bug fix. I have pushed an additional fix to master and requested backports for all versions going back to 4.4. | ||||
| Comment by Danny Gradim [ 24/Aug/22 ] | ||||
|
Hi,
instead of only db.version 4.4.15 and that causes an issue on all ours mongdb nodes. | ||||
| Comment by Chris Kelly [ 04/Aug/22 ] | ||||
|
Forwarding this to the Security team since they have ownership of logging. |