Skip to main content
Displays logs from the container services. You can specify a time interval or follow new logs in real time.

Usage

container system logs [--follow] [--last <last>] [--debug]

Options

-f, --follow
boolean
Follow log output
--last
string
default:"5m"
Fetch logs starting from the specified time period (minus the current time); supported formats: m, h, d
--debug
boolean
Enable debug output

Examples

# View logs from the last 5 minutes (default)
container system logs

# View logs from the last hour
container system logs --last 1h

# View logs from the last day
container system logs --last 1d

# Follow logs in real-time
container system logs --follow

# View last 30 minutes and follow new logs
container system logs --last 30m --follow
Use Ctrl+C to exit when following logs.
System logs are useful for troubleshooting service startup issues and debugging container operations.

Build docs developers (and LLMs) love