Logging and diagnostics
The processing activity of the BlackBerry Dynamics Runtime is logged by the runtime itself. The activity log is written to the BlackBerry Dynamics secure container on the device after deployment. You can configure how your BlackBerry Dynamics apps generate console log information. For more information about console logs controlled by developers and container logs controlled by UEM administrators, see the BlackBerry Dynamics Runtime activity log appendix in the API reference (Android/iOS).
If your app uses SDK version 5.0 or later, and the UEM administrator has turned off “Enable detailed logging for BlackBerry Dynamics apps” in the BlackBerry Dynamics profile (UEM), the app does not generate console log information. This provides additional protection against attacks by malicious users. This change has no impact on how container logs are generated.
The “Enable detailed logging for BlackBerry Dynamics apps” setting is off by default.
For BlackBerry Dynamics apps running SDK version 5.0 or later, console logs are generated only if this setting is turned on or if the app is running in enterprise simulation mode.
For more information about log management and configuring appropriate log settings for BlackBerry Dynamics Cordova apps, see the Logs management section of the README file for the Base plugin (cordova-plugin-bbd-base).