...
Info |
---|
The CLI references “skysync.” This is expected. |
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.
...
Code Block |
---|
skysync.js diagnostics logging show |
Example Resultresult
Code Block |
---|
{ "level": "trace", "Retention_days": 21 } |
...
There are two commands that can be used to update both parameters. Note that neither option is required, but at least one option must be included.
CommandsCommand
Code Block |
---|
skysync.js diagnostics logging update --level={level} --retention={days} |
or
Code Block |
---|
skysync.js diagnostics logging update -l={level}-r={days} |
...