Skip to content

EN Providers Docker Logging

lkmavi edited this page Sep 24, 2026 · 1 revision

Logging (Docker)

Container logs

Sandbox and proxy containers use Docker json-file with rotation:

Setting Default
Driver json-file
max-size 10m
max-file 3
export WHALESHELL_DOCKER_LOG_DRIVER=json-file   # or none
export WHALESHELL_DOCKER_LOG_MAX_SIZE=10m
export WHALESHELL_DOCKER_LOG_MAX_FILE=3

none disables Engine container logs when you rely only on gateway observation.

Daemon-wide fallback (all containers on the host):

{
  "log-driver": "json-file",
  "log-opts": { "max-size": "10m", "max-file": "3" }
}

Observation ring

Gateway keeps a per-sandbox in-memory ring (4096 lines). Deleted sandboxes drop their ring. Stream with:

whaleshell logs demo --tail --source proxy

Process logs (CLI / gateway / proxy) use slogx — see hub LOGGING.md.

→ New docs site

whaleshell

English

Русский

Clone this wiki locally