Skip to content

Tsuru log

tsuru log

Shows log entries for an application. These logs include everything the

Synopsis

Shows log entries for an application. These logs include everything the application send to stdout and stderr, alongside with logs from tsuru server (deployments, restarts, etc.)

The [[--lines]] flag is optional and by default its value is 10.

The [[--source]] flag is optional and allows filtering logs by log source (e.g. application, tsuru api).

The [[--unit]] flag is optional and allows filtering by unit. It's useful if your application has multiple units and you want logs from a single one.

The [[--follow]] flag is optional and makes the command wait for additional log output

The [[--no-date]] flag is optional and makes the log output without date.

The [[--no-source]] flag is optional and makes the log output without source information, useful to very dense logs.

tsuru log [appname] [-l/--lines numberOfLines] [-s/--source source] [-u/--unit unit] [-f/--follow] [flags]

Options

  -a, --app string      The name of the app.
  -f, --follow          Follow logs
  -l, --lines int       The number of log lines to display (default 10)
      --no-date         No date information
      --no-source       No source information
  -s, --source string   The log from the given source
  -u, --unit string     The log from the given unit
  -h, --help            help for log

Options inherited from parent commands

      --target string   Tsuru server endpoint
      --verbosity int   Verbosity level: 1 => print HTTP requests; 2 => print HTTP requests/responses

SEE ALSO

  • tsuru - A command-line interface for interacting with tsuru
Auto generated by spf13/cobra on 16-Jan-2026