-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add structured data for python tracebacks for syslog messages (#15291)
This commit ensures that python tracebacks are properly sent to remote syslog server and inserted into our own log files via syslog-ng. Records are converted to single-line and tracebacks and associated stack information are converted to parameterized JSON data to allow for easier automated parsing of log entries. Messages will have format as follows: ``` <message> @Cee:{"TNLOG": {"exception": <exception>, ...}} ``` Fields for the TNLOG entry are: ``` type: "PYTHON_EXCEPTION" exception: <traceback information> stack: (optional) <stack information ```
- Loading branch information
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters