KB-1382215

Collect a time-bounded Docker log window

Use read-only Docker commands to correlate API and FreeRADIUS events against a known timestamp.

10 views

Capture state before collecting the logs

Run these commands as an authorized Docker host operator from the directory used for the RadiusStack Compose deployment, using the same project and compose-file options as normal. The Settings → System Health & Containers → View Logs path in Global is convenient, but the browser only shows the most recent lines. Docker provides timestamp and time-window controls, which are particularly useful when the stack has been noisy since the incident.

docker compose ps -a
docker logs --timestamps --since 15m --tail 300 radius_api
docker logs --timestamps --since 15m --tail 300 radius_server

The first command helps distinguish a stopped service from one that is running with no relevant events. The time and tail limits apply together, so a busy service may return only the last part of the chosen period. For a historical incident, replace 15m with the incident’s explicit UTC start and add --until with its UTC end. Keep the same interval for every service and note its timezone in the handoff.

Worked example

A tenant reports several timeouts around 09:14 UTC. Collect the interval around 09:14 from the RADIUS and API containers. If the RADIUS log records a normal foreground startup around that time while the API was already running, compare the RADIUS startup boundary to the timeouts and the next successful Auth Logs entry. That supports investigating a RADIUS availability window; it does not explain why the container restarted. If the API instead shows an error only when the dashboard was opened later, record that as a separate symptom, not the cause of the authentication outage.

Failure branches and sharing

If docker reports No such container, compare actual names from the Compose inventory and make sure you are on the intended host. If permission is denied, ask a host operator; do not broaden Docker socket permissions. An empty interval may mean rotation, a recreated container, or simply no output, so check retained records or the authorized collector. Normal logs are the baseline. Do not start debug solely to fill a historical gap. Retain a minimal excerpt and scrub account names, addresses, station IDs and any secrets before sharing it.

References

  1. RadiusStack official wiki
  2. Docker Compose logs
  3. Docker container logs
  4. Docker Compose ps
  5. RadiusStack Settings implementation