Skip to content

Conversation

@nogweii
Copy link
Contributor

@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.

@nogweii
Copy link
Contributor Author

nogweii commented Mar 13, 2025

@kevinmcconnell friendly ping 😄

nogweii added 2 commits August 4, 2025 19: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.
@kevinmcconnell
Copy link
Collaborator

This looks great @nogweii, thanks! (And sorry for the slow response!)

@kevinmcconnell kevinmcconnell merged commit b26ba5e into basecamp:main Aug 4, 2025
1 check passed
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?

3 participants