fix(docker): use non-blocking GELF delivery (#9317)

Docker's GELF driver now runs in non-blocking mode, so a listener outage
no longer blocks a container's log writes or skips the daemon's local log
copy. docker.md describes the default 1 MB delivery buffer and the live
console and CloudWatch Logs loss once it fills.

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
This commit is contained in:
Andre Kurait authored and GitHub committed 2026-11-23 22:19:17 -04:00
1 parent 99fa7b404e
commit d57fceb434
3 files changed
+5

No files matched your search

@@ -118,6 +118,7 @@ public class GelfLogListener {
Map<String, String> options = new HashMap<>();
options.put("gelf-address", "tcp://" + ensureStarted());
options.put("tag", token);
options.put("mode", "non-blocking");
if (jsonFileOptions != null) {
copyOption(jsonFileOptions, "max-size", options, "cache-max-size");
copyOption(jsonFileOptions, "max-file", options, "cache-max-file");