Mobile SDK - Activate Debug Logs

In some cases, for being able to identify the source of the unexcepted behavior that you notice on your app, we would need Airship SDK logs to be activated into your stagging app. Those logs are used for reporting highly detailed SDK status that can be useful when debugging and troubleshooting.


Please, find hereunder the code to add into your app by channels :

  • 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