Skip to content

Log commit on startup #893

@jgehrcke

Description

@jgehrcke

Recently, we started working on a "log startup config" concept for all binaries. Critical for debuggability. See for example

pkgflags.LogStartupConfig(flags, loggingConfig)
and
func LogStartupConfig(parsedFlags any, loggingConfig *LoggingConfig) {

More details should be added. What's not done yet: all binaries should log the commit on startup. It must be apparent, from logs, which version is running.

Ideally we add this soon, to make logs easier to interpret.

Also, while I am here, in case of the check command used in probes, we should not log that config :). Should be treated like a separate problem of course.

Metadata

Metadata

Assignees

No one assigned

    Labels

    debuggabilityissue/pr related to the ability to debug the system

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions