> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trainy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Logs

> Add console log (stdout/stderr) widgets to your dashboards.

Console logs are captured automatically from every tracked run. Besides the full-screen [Logs viewer](/pluto/logs), you can surface a run's `stdout`/`stderr` as a **file** widget on a [custom dashboard](/pluto/dashboards) — alongside images, video, and audio — so logs sit next to your metrics and visualizations in a single view.

## Adding a log widget

Open **Add Widget**, choose the **Files** tab, and search for a console log stream — `sys.stdout` or `sys.stderr`.

<img src="https://mintcdn.com/trainy/ck7WI5896eYTYADa/images/pluto/add-widget-files-logs.png?fit=max&auto=format&n=ck7WI5896eYTYADa&q=85&s=034b292758c96e68485e42fe33962c60" alt="Adding a console log widget from the Add Widget modal" width="1352" height="1656" data-path="images/pluto/add-widget-files-logs.png" />

The added widget renders your `stdout`/`stderr` inline on the dashboard:

<img src="https://mintcdn.com/trainy/UWUvH-32rxkx62eZ/images/pluto/console-log-widget.png?fit=max&auto=format&n=UWUvH-32rxkx62eZ&q=85&s=1de18742e46086e9f79dabf8b22a790a" alt="Console log widget in a custom dashboard" width="1974" height="1292" data-path="images/pluto/console-log-widget.png" />

## Search and filter

Console log widgets support the same tools as the full [Logs viewer](/pluto/logs):

* **Filter** — show only the log lines matching your query.
* **Navigate** — highlight matches and jump between them with next/previous while keeping the full log in view.
* **ANSI colors** — colored output (e.g. from `rich` or `colorama`) renders with its original terminal formatting.

<Note>
  Looking for the full-screen, per-run log viewer instead? See the dedicated [Logs](/pluto/logs) page.
</Note>
