Skip to content

pdk cli should allow user to control the pdk log level #992

@JakeTRogers

Description

@JakeTRogers

By default the PDK is set to log level INFO which leads to messages like this:

pdk (INFO): Running all available validators...
pdk (INFO): Using Ruby 2.4.4
pdk (INFO): Using Puppet 5.5.3

It would be ideal if there were a -l, --log-level CLI parameter which would accept the lowest level log entries the user wants displayed

Example use case: i would like to set the log level to WARN when it is called by my pre-commit hooks, which would decrease the number of lines I need to parse/look over.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions