SimpleSwitch™ logging#
The standard output of the application will be automatically redirected to the
system log. In can be consulted over SSH, here is an example for
simpleswitch-hello-world
app
$ ssh root@<board_ip> journalctl -u simpleswitch-app@simpleswitch-hello-world.service
When using SimpleSwitch™ SDK, you can simply use simpleswitch-show-log
$ simpleswitch-show-log simpleswitch-hello-world <board_ip>
Detailed usage of simpleswitch-show-log
#
$ simpleswitch-show-log --help
Usage: simpleswitch-show-log package target_address
Options:
-f|--follow # Follow the log.