Skip to content

Error: unrecognized log format #127

@the-bananik

Description

@the-bananik

I get an error trying to configure the syslog logging format:

./apache_exporter --log.format="logger:syslog?appname=bob&local=7" --log.level="warn"
apache_exporter: error: unrecognized log format "logger:syslog?appname=bob&local=7", try --help

The format string is taken from your example. Obviously I tried different arguments for appname and local, but I just can't get it to work. What is the correct way to redirect logs to syslog or at least to a specific file?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions