Skip to content

Log version when starting services #519

@bgins

Description

@bgins

General Description

Log the binary version when starting a resource provider, job creator, or solver.

Which system(s) or functionality does this affect

This functionality affects the resource provider, job creator, and solver.

Describe the changes, and how this affects/ interacts with each system.

When starting a service, we should log the binary version. This change gives users an additional option for determining what version they are running.

In particular, this can be helpful for resource providers running in a Docker container. They can check their logs instead of establishing an interactive session with the Docker container to find the binary and run the version command.

Note that the version is added at compile time, so we will not have a version in local development. In this case, we can log that no version has been assigned.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions