-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
How to prevent GET requests logging only? #919
Comments
can i please be assigned to this issue ? |
sure, I tried this code, but get requests still trashing my container's log
|
it seems there's an issue with the `import hug class SilentGetLoggingMiddleware: logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s") @hug.get('/') In this example, I've created a Additionally, the |
Implementing HUG API I am trying to prevent the GET requests output at the container logs/prompt
I tried to make a custom middleware without success... any suggestion?
The text was updated successfully, but these errors were encountered: