Cheat Paper
print() Froze Prod. Nothing Crashed.
Sources
man 3 termios (IXON)
man 1 xterm (jumpScroll)
nginx.org: Module ngx_http_log_module
docker-nginx mainline/debian/Dockerfile
ln -sf /dev/stdout /var/log/nginx/access.log
linux@v7.0 fs/pipe.c (anon_pipe_write)
wait_event_interruptible_exclusive(pipe->wr_wait, pipe_writable(pipe));
GitHub: Container stdout pipe can become full if containerd daemon is stopped 2023-11-07
Container stdout pipe can become full if containerd daemon is stopped
Docker: Configure logging drivers
(default) direct, blocking delivery from container to driver
moby@docker-v29.8.0 daemon/logger/ring.go
if mSize+r.sizeBytes > r.maxBytes && len(r.queue) > 0 { r.wait.Signal() return nil }
AWS: Preventing log loss with non-blocking mode in the AWSLogs container log driver 2023-08-03
Unfortunately, with the AWSLogs logging driver there is no visibility into logs lost by the non-blocking mode buffer.
AWS: Access Amazon ECS features with account settings
On June 25, 2025, Amazon ECS changed the default log driver mode from blocking to non-blocking to prioritize task availability over logging
docs.python.org logging.handlers QueueHandler