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

silence flask logs from prometheus probing python wrapper #1907

Closed
RafalSkolasinski opened this issue Jun 1, 2020 · 0 comments · Fixed by #2337
Closed

silence flask logs from prometheus probing python wrapper #1907

RafalSkolasinski opened this issue Jun 1, 2020 · 0 comments · Fixed by #2337
Assignees
Milestone

Comments

@RafalSkolasinski
Copy link
Contributor

currently python wrapper is logging LOTS of events when probed by Prometheus:

2020-06-01 19:05:02,431 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:02] "GET /prometheus HTTP/1.1" 200 -
2020-06-01 19:05:03,430 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:03] "GET /prometheus HTTP/1.1" 200 -
2020-06-01 19:05:04,421 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:04] "GET /prometheus HTTP/1.1" 200 -
2020-06-01 19:05:05,434 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:05] "GET /prometheus HTTP/1.1" 200 -
2020-06-01 19:05:06,430 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:06] "GET /prometheus HTTP/1.1" 200 -
2020-06-01 19:05:07,430 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:07] "GET /prometheus HTTP/1.1" 200 -
2020-06-01 19:05:08,431 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:08] "GET /prometheus HTTP/1.1" 200 -
2020-06-01 19:05:09,423 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:09] "GET /prometheus HTTP/1.1" 200 -
2020-06-01 19:05:10,431 - werkzeug:_log:113 - INFO:  127.0.0.6 - - [01/Jun/2020 19:05:10] "GET /prometheus HTTP/1.1" 200 -

we should fine a way to silence those by moving them to DEBUG level

@RafalSkolasinski RafalSkolasinski added the triage Needs to be triaged and prioritised accordingly label Jun 1, 2020
@ukclivecox ukclivecox added priority/p2 and removed triage Needs to be triaged and prioritised accordingly labels Jun 4, 2020
@ukclivecox ukclivecox added this to the 1.2 milestone Jun 25, 2020
@ukclivecox ukclivecox modified the milestones: 1.2, 1.3 Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants