Skip to main content

tnctl logs cloudresource

tnctl logs cloudresource

Displays the latest logs for the given resource

Synopsis

Retrieves and follows the logs from a cloudresource or native configuration

Viewing the logs for a configuration $ tnctl logs configuration NAME --follow

Viewing the logs for a cloudresource $ tnctl logs cloudresource NAME --follow

tnctl logs cloudresource NAME [OPTIONS] [flags]

Options

  -f, --follow             Indicates we should follow the logs
-h, --help help for cloudresource
-n, --namespace string The namespace of the resource (default "default")
--stage string Select the stage to show logs for, else defaults to the current resource state
--timeout duration The interval to wait for the logs (default 3s)

Options inherited from parent commands

      --config string   Path to the configuration file (default "HOME/.tnctl.yaml")
--verbose Enable verbose logging

SEE ALSO

  • tnctl logs - Displays the latest logs for the resource