Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Pip packaging and WSGI logging #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexandrovas
Copy link

Hello!
I found that logs like this

 [06/Jul/2021 13:01:09] "GET /metrics HTTP/1.1" 200 3123

are written at any logging level.

I have overridden the default behavior with a handler. Now such logs are written only in the DEBUG level.

I also added some files so that I could pack the script into a pip-package.

Copy link
Member

@zloo zloo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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

Successfully merging this pull request may close these issues.

2 participants