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
Allocations page
Once in the logs page, dropdown allows to switch between containers
Logs page

CLI

Accessing logs via CLI is bit more flexibile.
1
synpse application logs <application_nam> --device <device_name>
Copied!
Example:
1
synpse application logs drone-ci --device rpi4 --follow
2
--container not provided. Defaulting to [drone]
3
{"admin":true,"level":"info","login":"mjudeikis","machine":false,"msg":"bootstrap: account created","time":"2021-09-03T09:17:19Z","token":"94SHLj6pdrEHqAia8MUr5Ys1WxJJit57"}
4
{"interval":"30m0s","level":"info","msg":"starting the cron scheduler","time":"2021-09-03T09:17:19Z"}
5
{"interval":"24h0m0s","level":"info","msg":"starting the zombie build reaper","time":"2021-09-03T09:17:19Z"}
Copied!
Copy link
Contents
Web UI
CLI