Skip to content

Add configuration for log level and format #227

@mcinquin

Description

@mcinquin

Hello,

Can you add an option to configure the log level and format like in other Prometheus exporters ?

eg.

      --log.level="info"  Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]
      --log.format="logger:stderr"
                          Set the log target and format. Example: "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true"

Regards.

Aha! Link: https://nginx.aha.io/features/IC-305

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalAn issue that proposes a feature request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions