Skip to content

fix(deploy): write receiver and tunnel logs as JSON - #101

Merged
tbhb-agent merged 1 commit into
mainfrom
agent/gm-j5-codex
Nov 23, 2026
Merged

tbhb-agent merged 1 commit into
mainfrom
agent/gm-j5-codex

Conversation

@tbhb-dev-agent-pull-requests

@tbhb-dev-agent-pull-requests tbhb-dev-agent-pull-requests Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Why

The host log collector reads Docker's json-file logs. The receiver and tunnel currently use Docker's local driver, which leaves their logs unavailable to the collector.

Behavior change

Both services use json-file and include the Compose project and service labels in their log records. Docker rotates the logs at 10 MB and keeps up to three files per container.

Decisions

Each service declares its logging settings directly, following the Compose file's existing style.

Deviations from the task

The change follows the requested scope.

Needs human judgment

Confirm that the host collector ingests and labels logs from both services after deployment.

Risk

The new settings take effect when Docker recreates the containers.

Verification

The regression test renders the Compose configuration and checks the log driver and options for both services.

bazelisk test //... passed on macOS with 33 tests passing and one skipped. bazelisk test //:golangci_lint_test passed. The focused logging test also passed with Docker Compose available. PR size reported 55 added code lines.

Human steering

The task specified the log driver, Compose labels, rotation limits, and a separate test function for compatibility with the parallel deployment work.

Assisted-by: LLM effort=medium;harness=claude-code:2.1.330;model=anthropic:claude-sonnet-5-5;session=sha-256-64:6507fa80a17e0653;surface=cli

Generated-by: LLM effort=high;harness=codex:0.166.0;model=openai:gpt-6.2-sol;session=sha-256-64:68cbe944a540c74d;surface=exec
@tbhb-agent
tbhb-agent merged commit 53f8bfc into main Nov 23, 2026
8 checks passed
@tbhb-agent
tbhb-agent deleted the agent/gm-j5-codex branch November 23, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant