Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Log Settings Tab in the Mobile App

          Log Settings Tab in the Mobile App

          The Log Settings tab in the mobile app debug screen—launched by tapping three times—displays log-specific fields for the mobile device.

          Required Editions

          Available in: Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          The debug screen is supported in the mobile app only if the Debug Window option is enabled by the admin in Sync Management.

          The table describes the fields in the Log Settings tab.

          Field Description
          Enable Logs and AppLogs

          The fields have these subfields:

          • ON / OFF: Specifies whether to store logs associated with the app.
          • Clear logs: Clears the logs that are stored on the device.
          • Flush logs: Flushes the cached logs that are stored on the device.
          Log level Read-only field. Indicates the log level of the mobile device. The log level indicates the severity of a log message that is associated with an exception. Based on the log level of the device, the logs that have equal or higher severity are sent to the backend so that the admins can verify and solve the issues.
          Auto transfer Read-only field. Indicates whether the automatic transfer of the logs to the backend is enabled.
          Buffer size Configures the buffer size for the JavaScript Log class. The value set in this field takes effect only if logs are enabled. The minimum value is 100 and the maximum value is 70000. The default buffer size is 10000.
          Log files count Configures the number of log files used. As rolling logs are used, when the last log file is full, the first log file is overwritten. The minimum value is 1 and the maximum value is 5. The default number of log files is 3.
          Log files size(kB)

          Configures the size of each log file. The minimum size is 1 MB and the maximum size is 10 MB. The default file size is 1 MB.

          If Trace Mode is enabled in Sync Management, the default number of log files is 3 and the default file size is 10 MB.

          Logs to console Specifies whether to display logs in the JavaScript console (JS Console tab).
          Log business logic performance

          Specifies whether to display performance logs for business logic. If enabled, the performance logs are displayed in the AppLogs tab.

          If Trace Mode is enabled in Sync Management, the Log business logic performance field is auto-enabled. This feature prevents a mobile app user from restarting the mobile app to view the performance logs.

          Note
          Note If Trace Mode is enabled and then disabled in the app, the Log business logic performance field continues to be disabled even if it was enabled manually before you enabled Trace Mode.
          Truncate log messages Specifies whether to truncate log messages. If enabled, long messages are truncated before being written to the logs. Truncated log messages can have up to 1024 characters.
           
          Loading
          Salesforce Help | Article