Mobile SDK - Activate Debug Logs

In some cases, in order to identify the source of an issue, we require Airship SDK logs from your app. These logs are used for reporting events from our SDK which are useful when debugging and troubleshooting how our code is behaving in your app. Logs must be enabled within your App Code as part of Airship's implementation which requires editing of a config file. For this reason, we recommend using a non-production app to troubleshoot. 


Find the Implementation details for enabling logging required by Airship support below. 

  • Android

In the, please modify the LogLevel to Verbose

# LogLevel is "VERBOSE", "DEBUG", "INFO", "WARN", "ERROR" or "ASSERT"
developmentLogLevel = VERBOSE
productionLogLevel = ERROR

You can find in our Android documentation more details. 

  • iOS

In the AirshipConfig.plist, please modify the LogLevel to 5 

inProduction   Boolean   0

developmentLogLevel   Number   5

productionLogLevel   Number   1

You can find in our iOS documentation more details. 


PS : if logs need to be activated on production, please modify the productionLogLevel

Was this article helpful?
0 out of 0 found this helpful
Submit a request