On this page
Kater CLI Logs and bugs logs
kater logs show
Shows the events that Kater logged for you.
Use it to find out why a command, a run or a compile failed. Each event gives its time, its level, where it came from and its message.
Examples
# Show the newest events that Kater logged for youkater logs show# Show only the errors from the last 2 hourskater logs show --level error --since 2h# Show the events of one request, by the request id that its error gave youkater logs show --request-id 4bf92f3577b34da6a3ce929d0e0e4736# Show the events about one saved querykater logs show --path connections/snowflake_prod_connection/workspaces/ad_reporting/query_contracts/spend_by_platform.sql# Keep printing new events as they comekater logs show --followOptions
It also takes the global options --json, --kater-root, --scope and --help.
What it prints
The answer is JSON, and events holds the events. When more events are older, cursor names them: give it to --cursor to read the page before. resume marks the newest event: give it to --after to read only what came after it. --follow does this for you, and prints each event on one line.
Where events are kept
In your own terminal, Kater keeps the newest 10,000 events in .kater/operational.sqlite3 in your content root. Kater’s servers keep each event for 7 days. You see only the events that you can read.