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

Teach thruster to optionally not log requests #50

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

Conversation

nogweii
Copy link

@nogweii nogweii commented Nov 14, 2024

Adds an environment variable, $LOG_REQUESTS, that when set to a falsey value will not add the logging middleware to the HTTP handler, disabling request logs. Other logs, like the startup messages, are left alone.

Closes #49.

Adds an environment variable, $LOG_REQUESTS, that when set to a falsey
value will not add the logging middleware to the HTTP handler, disabling
request logs. Other logs, like the startup messages, are left alone.

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

Successfully merging this pull request may close these issues.

Support disabling logs, at least for requests forwarded upstream?
1 participant