Logs
The Logs page streams Sublarr’s server log into your browser. New lines arrive over WebSocket so you don’t have to refresh, and the last 500 entries are kept in memory for searching and scrolling. When you need to share an issue with maintainers, this is where you copy the relevant lines from.
Layout
Section titled “Layout”The page is one big virtualised log viewer with a toolbar on top. The toolbar’s height is fixed so very long log lines don’t push controls off-screen.
| Control | Effect |
|---|---|
| Level dropdown | Filter to a minimum severity. WARNING hides INFO and DEBUG; ERROR shows only errors. ALL shows everything. |
| Search box | Substring match (case-insensitive) on the entire log line. |
| Pause / Resume | Stops live updates so the view doesn’t jump while you read. |
| Auto-scroll | When enabled (default), the viewport follows new lines. Toggling off lets you scroll up to inspect history. |
| Download | Saves the currently visible (filtered) lines as a .log file. |
Log levels
Section titled “Log levels”Sublarr’s logger emits four severities. The “level” you set in Settings → System is the minimum severity written to file; the page filter is independent and only narrows what you see in the browser.
| Level | When you’d raise it to |
|---|---|
DEBUG | Reproducing a bug — verbose request/response and worker traces. |
INFO | Default. Lifecycle events, scheduler ticks, downloads. |
WARNING | Production where you only care about deviations from the happy path. |
ERROR | Quiet logs — only failures land. |
Categories
Section titled “Categories”Sublarr tags each line with a logger name. The viewer doesn’t expose a category filter directly, but the search box does the same job:
| Search | Matches |
|---|---|
wanted_scanner | Wanted-list scanner ticks and decisions. |
translation | Translation pipeline. |
apscheduler | Scheduler triggers, missed firings, history writes. |
werkzeug | HTTP access log lines. |
auth | Login attempts, lockouts, API-key checks. |
Download for support
Section titled “Download for support”When opening an issue, the most useful artifact is the log around the failing action. The recipe:
- Set Level to
DEBUGand reproduce the issue once. - Pause the stream.
- Use Search to filter to the relevant subsystem (e.g.
subdlfor a SubDL provider issue). - Click Download. The resulting
.logalready has the irrelevant lines stripped.
File on disk
Section titled “File on disk”The same lines are appended to SUBLARR_LOG_FILE (default /config/sublarr.log in Docker). The browser viewer reads from the live tail; the on-disk file is the authoritative source if your retention is longer than the in-memory buffer of 500 lines.