[SERVER-33469] Make syslog log lines consistent with mongod log lines Created: 23/Feb/18 Updated: 29/Oct/23 Resolved: 06/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Logging |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.19, 3.6.10, 4.0.6, 4.1.7 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Bruce Lucas (Inactive) | Assignee: | Mathew Robinson (Inactive) |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | SWDI | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||
| Backport Requested: |
v4.0, v3.6, v3.4
|
||||||||||||||||||||
| Sprint: | Dev Tools 2018-12-03, Dev Tools 2018-12-17 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Description |
|
When mongod logs to syslog each entry looks like this:
This lacks useful information that is present in mongod log files:
It would be helpful if the log line handed to the syslog facility was identical to the line logged in mongod log files. For example:
This would provide the missing information, and would make writing tools to consume log files much easier. |
| Comments |
| Comment by Kevin Pulo [ 09/Jan/19 ] |
|
This change has also fixed |
| Comment by Githook User [ 08/Jan/19 ] |
|
Author: {'username': 'chasinglogic', 'email': 'chasinglogic@gmail.com', 'name': 'Mathew Robinson'}Message: |
| Comment by Githook User [ 08/Jan/19 ] |
|
Author: {'username': 'chasinglogic', 'email': 'chasinglogic@gmail.com', 'name': 'Mathew Robinson'}Message: |
| Comment by Githook User [ 07/Jan/19 ] |
|
Author: {'username': 'chasinglogic', 'email': 'chasinglogic@gmail.com', 'name': 'Mathew Robinson'}Message: (cherry picked from commit 68b8f7a6ca82e0acbee5eb24cf7a24d6b563877c) |
| Comment by Githook User [ 07/Jan/19 ] |
|
Author: {'username': 'chasinglogic', 'email': 'chasinglogic@gmail.com', 'name': 'Mathew Robinson'}Message: (cherry picked from commit 68b8f7a6ca82e0acbee5eb24cf7a24d6b563877c) |
| Comment by Githook User [ 07/Jan/19 ] |
|
Author: {'username': 'chasinglogic', 'email': 'chasinglogic@gmail.com', 'name': 'Mathew Robinson'}Message: (cherry picked from commit 68b8f7a6ca82e0acbee5eb24cf7a24d6b563877c) |
| Comment by Githook User [ 06/Dec/18 ] |
|
Author: {'name': 'Mathew Robinson', 'email': 'chasinglogic@gmail.com', 'username': 'chasinglogic'}Message: |