All Apps and Add-ons

Splunk MINT SDK for iOS: How to send console logs with crash reports when in release mode?

AnamariaLoznian
New Member

I've integrated the console logs messages with our unhandled crash reports using the Splunk MINT SDK for iOS.

The documentation describes that "your unhandled crash reports will include the last X NSLog messages with the request": http://docs.splunk.com/Documentation/MintIOSSDK/5.1.x/DevGuide/Dispatchsystemlogmessages

What should we do for release mode? Apple recommends disabling NSLog when the app is released.

How can we attach some console logs with the crash reports?

0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

If you disable NSLog, MINT won’t pick up console messages. But you could use breadcrumbs to track application activity. Breadcrumbs are available in the crash report, so you could track what happened in your app before a crash.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...