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
 or 
Good Control
 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
 or 
Good Control
 administrator has turned off “Enable detailed logging for BlackBerry Dynamics apps” in the 
BlackBerry Dynamics
 profile (
UEM
) or security policy (
Good Control
), 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.