hydra icon indicating copy to clipboard operation
hydra copied to clipboard

Option to disable access log for /.well-known/openid-configuration and /.well-known/jwks.json endpoints

Open aarmam opened this issue 2 years ago • 5 comments

Preflight checklist

Describe your problem

These endpoints are accessed frequently and generate considerable amount of logs.

Describe your ideal solution

Add similar option to disable these endpoints from access log

https://github.com/ory/hydra/blob/master/cmd/server/handler.go#L214-L216

Version

2.x

Additional Context

Will implement it if accepted!

aarmam avatar Dec 29 '22 11:12 aarmam

It would be great if there would be a capability to disable all access logs.

project0 avatar Apr 18 '23 15:04 project0

I don't think that we'll add per-endpoint logging, just because at some point the amount of config options explodes.

It would be great if there would be a capability to disable all access logs.

Disabling the logging for access is already possible by setting LOG_LEVEL=warn

aeneasr avatar Apr 18 '23 15:04 aeneasr

@aeneasr unfortunately this also disables all other info log messages.

project0 avatar Apr 18 '23 15:04 project0

True, out of all the options then it would probably be the best option to simply disable access logging all together?

aeneasr avatar Apr 18 '23 16:04 aeneasr

Hello contributors!

I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue

  • open a PR referencing and resolving the issue;
  • leave a comment on it and discuss ideas on how you could contribute towards resolving it;
  • leave a comment and describe in detail why this issue is critical for your use case;
  • open a new issue with updated details and a plan for resolving the issue.

Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic.

Unfortunately, burnout has become a topic of concern amongst open-source projects.

It can lead to severe personal and health issues as well as opening catastrophic attack vectors.

The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.

If this issue was marked as stale erroneously you can exempt it by adding the backlog label, assigning someone, or setting a milestone for it.

Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!

Thank you 🙏✌️

github-actions[bot] avatar Apr 18 '24 00:04 github-actions[bot]