The logging level determines the amount of information that is captured and included in the application logs. You would change the logging level if you wanted to capture specific information only in order to troubleshoot issues.
Viewing or setting the logging level is done using the following two parameters.
The logging level set. The default value is Info.
Number of days the log will be retained. The default value is 21 days.
Below are the available log levels that can be set for the application log. Info is the default logging level.
This level includes all logging levels. This is an ideal logging level to set when troubleshooting as it provides the most comprehensive logging.
This level logs all basic information, warnings, and errors. It also includes additional information that may be useful for troubleshooting.
This level logs all basic logging, warnings, and errors. This is the default logging level.
This level logs only warnings and errors.
This level logs only general and critical errors.
This level logs only critical errors.
List Logging Levels
skysync.js diagnostics logging show
Updating Logging Information
You can update just the logging level or retention days, or you can update both. At least one parameter must be set in the update command in order for the update to work. An update command without parameters will result in a return message that includes help information for how to update the logging information.