[SERVER-56401] Log lines are malformed Created: 27/Apr/21 Updated: 29/Oct/23 Resolved: 10/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeffrey Zambory | Assignee: | Sergey Galtsev (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Security 2021-07-26, Security 2021-08-09, Security 2021-08-23 | ||||||||
| Participants: | |||||||||
| Description |
|
Logs are malformed sometimes, leading to two distinct logs to be output on the same line. This can be seen in this task. This is an example of the logs on the same line. The two lines seem to be coming from here then here . |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 10/Aug/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Sergey Galtsev (Inactive) [ 10/Aug/21 ] |
|
this change prevents scenarios from happening when audit and log going to the same stream interfere with each other's data |
| Comment by Sergey Galtsev (Inactive) [ 04/Aug/21 ] |
| Comment by Sergey Galtsev (Inactive) [ 04/Aug/21 ] |
|
Dev-note: the two separate entries in question are:
both are configured to go to std::cout, but since they are emitted by separate subsystems, there is no mechanism to share the stream in thread safe manner |