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!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...