Synpse
🤖 Devices⚡ ApplicationsTry Synpse!
  • Intro to Synpse
  • Start here
    • Quick Start (web user)
    • Quick Start (CLI)
  • Agent
    • Install
      • Raspberry Pi
      • Linux (Docker)
      • MacOS
      • NVIDIA Jetson
      • Headless (Ubuntu)
      • BeagleBoard AI
      • Bulk Provisioning
      • 🪄Beta - Universal Synpse image
      • Containerized agent
      • Configuration
    • Uninstall
  • CLI
    • Install & Usage
  • synpse core
    • Devices
      • Device Provisioning
      • HTTPS Tunnel Access
      • SSH Access
      • Device Labels
      • Environment Variables
      • Proxy Application Ports
      • OS & Architectures
      • Operations
      • Device API
    • Applications
      • Deploy
      • Secrets
      • Environment variables
      • Substitution (dynamic templates)
      • Volumes
      • Networking
      • Scheduling
      • Registry authentication
      • Using GPUs
      • Tips & Tricks
      • Logs and status
      • Application specification (API reference)
    • Account
      • Personal Access Tokens
      • Service (Robot) Accounts
      • Teams (Share Devices)
    • Monitoring (beta)
      • Device Monitoring
      • Application Monitoring
  • Manage
    • Projects
    • Namespaces
    • Quotas
  • Examples
    • 🏠Home Automation
      • Gladys Assistant
      • Home Assistant
    • 🛠️Preparing OS Images
      • Synpse CLI Builder
      • Build a custom Raspberry Pi image
      • Cloud-init (advanced)
    • 💡Dynamic Templates
    • ☁️Public Cloud IoT
      • AWS IoT Core
      • Azure IoT Hub
      • GCP IoT Core
    • 🚀Device management
      • VNC to remove devices
      • Ansible
  • On-prem Deployment
    • 🐳Docker Compose
    • 🌤️kubernetes
  • Resources
    • API Documentation
    • Deployment patterns
    • Security & Tech
Powered by GitBook
On this page
  • Web UI
  • CLI

Was this helpful?

  1. synpse core
  2. Applications

Logs and status

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

PreviousTips & TricksNextApplication specification (API reference)

Last updated 3 years ago

Was this helpful?

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"}

Allocations page
Logs page