Print a log file.
Synopsis
Print the contents of a log file.
Pass a filename from agentengine debug logs list, or use --last for the most recent log file. Without either, the command fails. --last skips the current invocation’s own log file. Output is raw JSON lines; --pretty indents and colorizes it.
Examples:
agentengine debug logs get --last --prettyagentengine debug logs get agentengine-2026-05-13T11-43-57Z-12345.logagentengine debug logs get [logfile] [flags]Options
-h, --help help for get --last Print the most recent log file --pretty Indent and colorize JSON outputOptions inherited from parent commands
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)See Also
- agentengine debug logs - View CLI debug logs.