Skip to content

Logging

Stackpad provides a unified logging pipeline that collects, stores, and searches logs from all your services. Logs are available in real time from the dashboard.

How logging works

Stackpad’s logging pipeline consists of:

  1. CollectionVector runs on every compute node and collects stdout/stderr from all containers
  2. Enrichment — logs are tagged with organization, project, service, and deployment metadata
  3. Storage — logs are stored in ClickHouse, a high-performance analytics database
  4. Query — the dashboard queries ClickHouse for filtered, searchable log views

All components run on European infrastructure — your logs never leave the EU.

Viewing logs

From the dashboard

  1. Open your project
  2. Click on a service
  3. Select the Logs tab

You’ll see a real-time log stream with:

  • Timestamp — when the log line was emitted
  • Log level — info, warn, error, etc. (if structured)
  • Message — the log content

Filtering

The log viewer supports multiple filter types that can be combined:

FilterOptionsDefault
Time range15 minutes, 1 hour, 6 hours, 24 hours, 7 days1 hour
Log levelDebug, Info, Warn, Error, AllAll
ServiceAny specific service or allAll
ReplicaSpecific replica index or all (for scaled services)All
Text searchFree-text keyword search (debounced)

Filters are applied server-side, so even with a large log volume, you only see what’s relevant.

Real-time streaming

The log viewer uses Server-Sent Events (SSE) to stream new log lines instantly as they’re written — no polling or manual refresh needed. New lines appear in real-time with:

  • Color-coded levels — errors in red, warnings in yellow, info in default, debug in muted
  • Auto-scroll — follows new output by default, disables when you scroll up
  • Connection indicator — shows when the SSE connection is active

This is useful for:

  • Watching deployment progress
  • Debugging errors in real time
  • Monitoring application behavior
  • Tailing cron job output

Build logs

Deployment build logs are stored separately from runtime logs. To view build logs:

  1. Go to the Deployments tab
  2. Click on a specific deployment
  3. Build logs show the full output of the build process

Build logs are useful for debugging:

  • Failed builds
  • Slow builds
  • Missing dependencies

Log retention

PlanRetention
Starter7 days
Pro30 days
Business90 days

Logs older than the retention period are automatically deleted.

What’s next?