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

Changing the logger-path doesn't seem to completely work #295

Open
flori opened this issue Nov 29, 2023 · 0 comments
Open

Changing the logger-path doesn't seem to completely work #295

flori opened this issue Nov 29, 2023 · 0 comments

Comments

@flori
Copy link

flori commented Nov 29, 2023

If I enable verbose output for the prometheus_exporter executable and try to log to stdout, parts of the log output still go to stderr even though the log lines aren't reporting any errors, see:

 prometheus_exporter master #e763dc6 ⮑ 0 $ prometheus_exporter -v --logger-path=/dev/stdout >/dev/null
[2023-11-29 11:51:56] INFO  WEBrick 1.8.1
[2023-11-29 11:51:56] INFO  ruby 3.2.2 (2023-03-30) [arm64-darwin22]
[2023-11-29 11:51:56] INFO  WEBrick::HTTPServer#start: pid=92385 port=9394

This also applies to any requests that are processed including successful ones.

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

No branches or pull requests

1 participant