...
With this command you can edit log settings for the picos and update the logging dynamically.
Options
Option | Description |
---|---|
[-reset] | Resets the logging to default settings. This option cannot be used in combination with any other option. |
[-stacktrace] | Turns stacktrace on or off. The default value is on. |
[-level] | Determines for which severity levels events should be logged; OFF, ERROR, WARN, INFO, CONFIG, DEBUG, TRACE, FINEST, or ALL. |
[-file] | Will log to an additional file stated with filename. |
[-package] | Will only log events for the stated package or class. |
Return Codes
Listed below are the different return codes for the logger
command:
Code | Description |
---|---|
0 | Will be returned if the command was successful. |
1 | Will be returned if there are missing arguments:
|
2 | Will be returned if the level is missing or invalid. |
3 | Will be returned if the file is missing. |
4 | Will be returned if the package is missing or invalid. |
7 | Will be returned if the stacktrace is missing or invalid. |
8 | Will be returned if reset has been incorrectly used |
. |