[SERVER-51489] Add client IP be added to slow query log lines in server logs Created: 12/Oct/20 Updated: 29/Oct/23 Resolved: 26/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Logging |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Justin Costello | Assignee: | Amirsaman Memaripour |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sa-groomed | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Service arch 2020-11-30 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Can client IP be added to the slow operation lines in the server logs? This could help in reducing log post processing for some customers who require both of these details. |
| Comments |
| Comment by Githook User [ 25/Nov/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Bruce Lucas (Inactive) [ 16/Nov/20 ] |
|
As I understand it the request is only for slow operation log lines, i.e. log id 51803. |
| Comment by Garaudy Etienne [ 16/Nov/20 ] |
|
bruce.lucas what log lines would it be useful to know client IP? (we don't want to add it to every log line unless necessary) |
| Comment by Bruce Lucas (Inactive) [ 12/Oct/20 ] |
|
It would be good if this were consistent with the way that we log client IPs in other contexts like NETWORK and ACCESS components. Not sure that those are consistent with each other, so we may want to fix that too - it's pretty useful to be able to query for all log lines that relate to a particular client IP. |