Skip to content

logging: allow passing logger to NewRunner #2032

@jrasell

Description

@jrasell

Ref code:

func NewRunner(config *config.Config, dry bool) (*Runner, error) {

Nomad utilizes consul-template as a library and it would be great if we could optionally pass a logger when setting up a new runner. This could avoid some of the intercept overhead from our template runner associated to logging which is currently required to get CT logs showing up within the Nomad client logging.

Related: #1522

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions