NextuneNextune Docs
CLI

Logs

View and follow application logs from the terminal.

Recent logs

nextune app logs my-api

Default: last 100 lines.

Options

FlagDescription
-t, --tail NNumber of recent lines (default: 100)
--search TEXTFilter lines containing text
--level LEVELMinimum level: ALL, INFO, WARN, ERROR, etc.
-f, --followStream new logs live
--jsonJSON log lines

Examples

# Last 200 lines
nextune app logs my-api --tail 200

# Errors only
nextune app logs my-api --level ERROR

# Search for "timeout"
nextune app logs my-api --search timeout

# Follow live (Ctrl+C to stop)
nextune app logs my-api --follow

Save logs to a file

nextune app logs my-api --follow > my-api.log
# or
nextune app logs my-api --follow | tee my-api.log

Notes

  • Log output is formatted for readability and does not include internal pod names by default.
  • Live follow uses a WebSocket connection; snapshot mode uses the REST API.

On this page