Development server logs are emitted as JSON Lines so every local console line includes Cliparr’s structured LogTape fields. Frontend development logs use the same JSON format in the browser console.
Production server logs default to pretty, the readable terminal format that shows the timestamp, level, category, and message. Set CLIPARR_LOG_FORMAT=json or CLIPARR_LOG_FORMAT=logfmt in production when you want each console line to include structured fields such as event.name, event.outcome, request data, provider IDs, media handle IDs, counts, durations, and error details. JSON is best for log collectors. logfmt is compact and readable in plain terminals.
docker run -d \
--name cliparr \
-p 127.0.0.1:7171:7171 \
-e APP_KEY="your-32-char-stable-random-secret" \
-e CLIPARR_LOG_FORMAT=json \
-v cliparr-data:/data \
ghcr.io/techsquidtv/cliparr:latestdocker run -d `
--name cliparr `
-p 127.0.0.1:7171:7171 `
-e APP_KEY="your-32-char-stable-random-secret" `
-e CLIPARR_LOG_FORMAT=json `
-v cliparr-data:/data `
ghcr.io/techsquidtv/cliparr:latestCLIPARR_LOG_LEVEL controls how much the server emits. Development defaults to debug; production defaults to info. Use trace only while chasing detailed media proxy or playback behavior because it can be noisy.
Playback loading timings
The dashboard reports each source’s current loading stage: connecting to the server, finding playback, or preparing playback details. Other sources can finish while a slower source is still loading.
At info level, structured server logs include event.duration.ms for these events:
media.live.connect: from starting a provider connection until its notification stream opens. Plex also needs an initial session request to select a reachable server during this stage; Jellyfin checks the account and server version.media.live.discover: from the open notification stream until the first session snapshot arrives. An empty snapshot completes discovery too.media.live.prepare: time spent preparing a snapshot’s playback details and session-owned media handles. Failed preparation attempts have their own durations; retry delays are excluded. Cached provider metadata may make later preparation faster.
Connection and discovery timings restart on reconnect. Their outcomes are success,
failure, or cancelled; preparation reports success or failure. These timing
events include source and provider IDs, counts, and safe failure categories, without
server addresses, media titles, or credentials.
The browser console reports editor.preview.ready when the first video frame is
available, or when an audio-only preview is ready. Its duration starts when the
editor configures the media source. It reports an initial failure once and, if a
manual retry succeeds, a success with preview.recovered: true; that duration includes
the time waiting for the retry. Playback and seeking do not repeat the success event.
Preview timing stays in the browser and is not sent to the Cliparr server. Development
browser logs include structured fields; production uses the readable console format.
Missing Jellyfin subtitle tracks
Set CLIPARR_LOG_LEVEL=trace and CLIPARR_LOG_FORMAT=json on the Cliparr server, then open the playing Jellyfin item. Find the provider.playback.resolve event with provider.id set to jellyfin.
media.subtitle_stream.count counts subtitle streams on the resolved media source. media.subtitle_track.offered.count counts tracks available in the editor. The two exclusion counts, media.subtitle_track.excluded.non_text.count and media.subtitle_track.excluded.missing_url.count, distinguish non-text tracks from text tracks without a download URL.
media.subtitle_stream.index is the index reported by Jellyfin’s player, or the media source’s default if the player supplies none. An index of -1 means subtitles are off. The index can appear even when the source lists no matching track. media.subtitle_stream.codec appears when a matching track has a known codec.
For a subtitle support request, share only the fields starting with media.subtitle_ from this event.
File logging
Set CLIPARR_LOG_FILE to write a second server log destination in addition to the console. File logging is opt-in and rotates by size so diagnostics do not grow forever on long-running installs.
services:
cliparr:
image: ghcr.io/techsquidtv/cliparr:latest
environment:
- APP_KEY=replace-this-with-a-32-character-secure-random-string
- CLIPARR_LOG_FORMAT=pretty
- CLIPARR_LOG_FILE=/data/logs/cliparr.log
- CLIPARR_LOG_FILE_FORMAT=json
- CLIPARR_LOG_FILE_MAX_SIZE=10mb
- CLIPARR_LOG_FILE_MAX_FILES=5
volumes:
- cliparr-data:/dataRelative file paths resolve from the server working directory. In containers, prefer a path under /data so logs persist with the Cliparr volume. File logs default to JSON unless CLIPARR_LOG_FILE_FORMAT is set. If CLIPARR_LOG_FILE_FORMAT is omitted but CLIPARR_LOG_FORMAT is set, the file uses that configured production log format.
CLIPARR_LOG_FILE_MAX_SIZE accepts byte sizes with optional b, kb, mb, gb, kib, mib, or gib suffixes and defaults to 10mb. CLIPARR_LOG_FILE_MAX_FILES defaults to 5 and includes the active file, so the default keeps cliparr.log plus up to four rotated files.