Logs & Terminal

Services run in real terminals—learn how to type commands, open extra terminals, search output, and filter combined logs by level.

Every service is a terminal

Each service runs inside a real terminal. Colors, progress bars, emoji, and interactive prompts work just like in a regular terminal, and you can type directly into it at any time.

You can also open additional terminals alongside a service—for example, to run tests or database migrations—without interrupting the service itself:

  • Press Ctrl+Shift+` on a service page to open an extra terminal.
  • Press Ctrl+Shift+W to close the current extra terminal.

Press Ctrl+F to search within the active terminal.

Logs page

The Logs page merges output from all processes in chronological order:

  • Filter by log level;
  • Error lines are highlighted in red;
  • Jump to the previous or next error.

Log files

Every service writes its logs to disk:

  • Location: ~/.kovra/logs/<project>/<env>/<repo>__<service>.log (see Data Directory);
  • A new log file is created on each start;
  • The 3 most recent runs are archived so you can inspect previous runs.

Log files contain a simplified version of terminal output: ANSI colors and cursor control sequences are stripped, and lines wrapped by ConPTY at the window width are rejoined. Treat the terminal window as the source of truth.

Startup, readiness, and crashes

Kovra determines whether a service is ready using the following order:

  1. If ready_log is configured in the project file, Kovra waits for a matching log line;
  2. Otherwise, if the service has a port, Kovra probes the TCP port until it accepts connections;
  3. If neither applies, the service is marked ready immediately after launch.

If a service is still not ready after 60 seconds, it is marked as crashed. When a background service crashes, a toast notification appears in the bottom-right corner with a Restart button.

Stopping and restarting

  • Stop sends Ctrl+C to the terminal.
  • Restart sends Ctrl+C, then re-runs the current start command.

Edit this page on GitHub ↗