-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Backtracing] Add JSON backtrace output #80271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backtracing] Add JSON backtrace output #80271
Conversation
Explanation: Adds JSON output support to the backtracer. This makes it easy to feed crash reports into various other pieces of software. |
@swift-ci Please test |
cc43f59
to
bfdf9c1
Compare
Ah. Missed that I needed to copy across a new file from |
@swift-ci Please test |
Add an option to use JSON for the crash log output; this makes it easy to ingest crash logs using tools like Splunk or Elastic, which is extremely useful in server environments. rdar://121430255
bfdf9c1
to
bcd0b90
Compare
@swift-ci Please test |
It's possible that the last frame in the test is genuinely the last one we see in the backtrace, in which case there won't be a `,` after the `}`. rdar://121430255
@swift-ci Please test Linux platform |
@swift-ci Please test macOS platform |
@swift-ci Please test Windows platform |
Add an option to use JSON for the crash log output; this makes it easy to ingest crash logs using tools like Splunk or Elastic, which is extremely useful in server environments.
rdar://121430255