Log version on startup #87
No reviewers
Labels
No labels
Bug
BuildIssue
Claude-fixed
Enhancement
In Progress
Low priority
On Hold
Rejected
Security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
keyop-go/nfq_forwarder!87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue86_log_version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #86.
There's no literal "startup banner" today - added an explicit
nfq_forwarder %s startingline at Info level, right aftersetupLogging(appConfig)runs (so it goes through the real tint/syslog-prefix handler, not slog's zero-value default before that point).NFQForwarderMaingained aversion stringparameter, threaded fromcmd/setup/setup.go's existing closure over the same version string--versionalready prints (issue #23).NFQForwarderMainis never called from a test (needs root/real iptables/netlink), so no existing test needed updating. Manually verified against a real built binary - confirmed the version line is the very first thing printed, correctly carrying issue #37's<6>syslog-priority prefix too:--versionitself is unaffected (confirmed unchanged output).make lint/make testclean.LGTM