Blossom Docs
Blossom

Reference

blossom activity:logs

Show activity logs

Usage

blossom activity:logs --id ID [--follow] [--lines LINES] [--timestamps]

Flags

Flag Description
--id (required) Activity id
--follow, -f Follow logs
--lines, -n Number of recent log lines to show
--timestamps Show log timestamps. Default: true.

Examples:

blossom activity:logs --id activity-100
blossom activity:logs --id activity-100 -n 50
blossom activity:logs --id activity-100 --timestamps=false
blossom activity:logs --id activity-100 --no-timestamps
blossom activity:logs --id activity-100 --follow
blossom activity:logs --id activity-100 -n 50 --follow

Shows the detailed log output attached to an activity. Activity logs include timestamps by default because timing is often part of the operational signal.

Use --lines or -n to show only the most recent lines from the initial log batch:

blossom activity:logs --id activity-100 --lines 50
blossom activity:logs --id activity-100 -n 50 --follow

When following, Blossom limits the initial batch and then prints new entries as they arrive.

Use --timestamps=false or --no-timestamps when you only want messages.

Blossom uses the terminal’s local timezone for text timestamps. On a remote devbox, that may be UTC. Set BLOSSOM_TIMEZONE when you want local timestamps:

BLOSSOM_TIMEZONE=America/Los_Angeles blossom activity:logs --id activity-100

Use --follow when the activity is still running and you want new log lines as they are saved.

On this page