Skip to main content

Usage

dokrypt logs [flags]

Flags

FlagTypeDefaultDescription
-s, --servicestringStream logs from a specific service
-f, --followboolfalseFollow mode — keep streaming new logs
--tailstring50Number of recent lines to show
--sincestringShow logs since a duration (e.g., 5m, 1h)
--timestampsboolfalseShow timestamps on each log line

Description

Retrieves and optionally streams logs from running service containers. When multiple services are running and no --service filter is set, logs from all services are interleaved and prefixed with the service name.

Examples

Show recent logs from all services

dokrypt logs

Follow logs in real-time

dokrypt logs --follow

Follow logs from a specific service

dokrypt logs -f -s ethereum

Show last 100 lines with timestamps

dokrypt logs --tail 100 --timestamps

Show logs from the last 5 minutes

dokrypt logs --since 5m

Combine flags

dokrypt logs -f -s ipfs --tail 200 --timestamps