This article introduces the configuration and usage of the platform's log feature. The following content uses the Android platform log module as an example for explanation. iOS and Harmony can refer to the following content.
Log Query
Issuing a Command
The platform provides the feature to issue log retrieval commands. You can issue commands and query reporting results on the Log query > Command issuance page in the console. 1. On the Issue Command page, click Create query to create a log retrieval command. You need to select the Select Date and Device ID for the logs to be retrieved. You can add tags and attachment file paths for the retrieval. 2. After the command is issued, wait for the SDK to pull the configurations and upload the log files.
3. On the Issue Command list page, you can click View to see the latest logs retrieved by the current task. Actively reporting
The platform supports businesses actively calling the reporting API to upload custom logs, files, and other information. For details, refer to Data Reporting Verification. Device dyeing
The platform management console provides the capability to issue log dyeing instructions, enabling online configuration of the log level for local printing.
1. On the Log > device dyeing page in the console, you can issue log dyeing instructions. On the device dyeing page, click Create color tagging, select the dyeing Level, enter the Device ID, and click Submit. 2. After the command is issued, the SDK will automatically call the log level setting API to adjust the current log printing level upon pulling the configurations.
3. On the device dyeing list page, you can click View to see the details of the staining task.