Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: unrecognized log format #127

Open
the-bananik opened this issue Mar 2, 2022 · 0 comments
Open

Error: unrecognized log format #127

the-bananik opened this issue Mar 2, 2022 · 0 comments

Comments

@the-bananik
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant