Lusitaniae / apache_exporter

Prometheus exporter for Apache.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: unrecognized log format

the-bananik opened this issue · comments

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.