Logs and status

Application logs are crucial for debugging and monitoring your services. Synpse provides logs both through web UI and the CLI.

Logs can be accessed via UI and CLI. Logs are being streamed directly from devices so if device is offline or without an internet connection - logs will not work.

Web UI

From UI logs can be accessed via allocations page, pressing on the Logs button

Once in the logs page, dropdown allows to switch between containers

CLI

Accessing logs via CLI is bit more flexibile.

synpse application logs <application_nam> --device <device_name>

Example:

synpse application logs drone-ci --device rpi4 --follow
 --container not provided. Defaulting to [drone]
{"admin":true,"level":"info","login":"mjudeikis","machine":false,"msg":"bootstrap: account created","time":"2021-09-03T09:17:19Z","token":"94SHLj6pdrEHqAia8MUr5Ys1WxJJit57"}
{"interval":"30m0s","level":"info","msg":"starting the cron scheduler","time":"2021-09-03T09:17:19Z"}
{"interval":"24h0m0s","level":"info","msg":"starting the zombie build reaper","time":"2021-09-03T09:17:19Z"}

Last updated