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

HttpConnector: controlling verbosity of default log message for incoming request #481

Open
cunger opened this issue Jan 20, 2021 · 2 comments

Comments

@cunger
Copy link

cunger commented Jan 20, 2021

It's a small thing: The HttpConnector currently logs 'Handling event' for each incoming request:

this.app.getLogger().info('Handling event')

I'm not sure what your strategy is, but would it be possible to either remove this log message or add a way to control verbosity in this case?

The reason I'm asking is that my Reshuffle app is running in the cloud and the load balancer pings it every minute or so to see whether it's healthy. I want the health endpoint to be silent, because it just adds a lot of superfluous logging that hides the more important log messages.

@cunger
Copy link
Author

cunger commented Jan 20, 2021

Ah, I guess that's what the HEALTH_CHECK_PATH environment variable is for? 😬
Haven't seen it before, sorry.

@cunger cunger closed this as completed Jan 20, 2021
@foundingnimo
Copy link
Member

Yeah @cunger - that's exactly what it's for. But I think your point still stands. We will look into this. Thanks!

@foundingnimo foundingnimo reopened this Jan 20, 2021
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

No branches or pull requests

2 participants