Files
floci/docs/configuration
Hector Ventura 2ee676ca6c feat(docker): opt-in log-driver mode for long-lived service containers' logs (#9236)
With floci.docker.log-driver-mode on (off by default), the long-lived service containers Floci attaches to are created with Docker's gelf log driver pointed at a TCP listener in Floci, and the daemon pushes each line instead of Floci reading the log on a timer. Flink TaskManagers and ephemeral RDS instances keep json-file.

Each container carries a random tag, as a label and in every message. A message whose tag no attached container claimed is dropped, and lines that arrive before the attach are held for it. The listener takes a fixed port, floci.docker.log-driver-port (12201), and opens before Floci starts any container, so a stopped container adopted after a restart starts again. A container created under another port or host is read on a timer from the daemon's local copy, with a warning. The listener accepts at most 1024 connections.

The json-file max-size and max-file settings map to the local copy's cache-max-size and cache-max-file.
2026-11-23 20:31:48 -04:00
..