Skip to content

feat(log): report service startup and shutdown at any log level - #2430

Closed
0xERR0R wants to merge 2 commits into
mainfrom
feat/service-lifecycle-logs
Closed

0xERR0R wants to merge 2 commits into
mainfrom
feat/service-lifecycle-logs

Conversation

@0xERR0R

@0xERR0R 0xERR0R commented Nov 27, 2026

Copy link
Copy Markdown
Owner

Closes #2425.

Blocky now emits an info record with its version after all configured DNS listeners start and after graceful shutdown succeeds. Both records use the configured log destination and format without lowering the threshold for other messages.

The regression test holds a TCP port during startup, releases it, and checks the lifecycle records at a UDP syslog receiver with log.level: error.

Verification: ./log and ./server passed; ./cmd passed in isolation after a port collision during the parallel package run. The full go test ./... run timed out after six minutes.

Copilot AI balanced review requested due to automatic review settings November 27, 2026 21:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@0xERR0R 0xERR0R closed this Nov 27, 2026
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.

Log service start and stop events irrespective of log level

2 participants