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!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...