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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...