The logging module enables the discovery of bugs or issues when the application is deployed to users.
The logging module enables the discovery of bugs or issues when the application is deployed to users.
Set Logging in the Application
Add APIs to call functions and methods for log statements. See the sample application for examples.
Set the Logging Level in the SDK Profile
You must set the logging level in the default profile for the Workspace ONE SDK in the Workspace ONE UEM console. This configuration ensures that your network is not burdened with unwanted logging activity.
Navigate to
.Enable the feature.
Select the logging level.
Level
Logging Syntax
Description
Error
AWLogError("{log message}")
Records only errors. An error displays failures in processes such as a failure to look up UIDs or an unsupported URL.
Warning
AWLogWarning("{log message}")
Records errors and warnings. A warning displays a possible issue with processes such as bad response codes and invalid token authentications.
Information
AWLogInfo("{log message}")
Records a significant amount of data for informational purposes. An information logging level displays general processes, warning, and error messages.
Debug or Verbose
AWLogVerbose("{log message}")
Records all data to help with troubleshooting. This option is not available for all functions.
Set to send logs over wifi or not.
Access SDK and Wrapped App Logs by Log File
Access SDK application logs from the App Logs page.
Navigate to
.Download or delete logs using the actions menu.