Sign in

Universal mod

stdout-logs

This mod allows any specified log files to be tailed and included in the container's STDOUT.

arch
amd64
built

Use it#

Set DOCKER_MODS on any LinuxServer.io container and recreate it. The mod is pulled on every start; several mods are separated with |.

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-stdout-logs

:universal-stdout-logs always gets the newest build. To stay on this one, pin its tag:

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-stdout-logs-515a65d
services:
  sonarr:
    image: ghcr.io/linuxserver-playground/sonarr:latest
    environment:
      - DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-stdout-logs

Details#

Simply set the environment variable LOGS_TO_STDOUT with a pipe-delimited (|) list of log files to include, such as LOGS_TO_STDOUT="/config/logs/radarr.txt|/config/logs/radarr.debug.txt".

Community project

Improve this mod, or make your own

Mods are how LinuxServer images grow without getting heavier: a Dockerfile, a few scripts and a mod.yml. If this one is missing something, or you need one like it for another image, an AI agent in our harness can build and test it with you.

Ask your agent

  • The universal-stdout-logs mod <what is wrong>. Fix it, test it and draft the PR.
  • Make a mod like universal-stdout-logs for <another image>, and test it.

Making a mod Every way to help Get the harness (opens in a new tab)

Source: universal-stdout-logs branch (opens in a new tab). Every mod