OpenConext / OpenConext-oidcng

OpenID Connect gateway - The Next Generation
3 stars 5 forks source link

Excessive logging #172

Closed phavekes closed 1 month ago

phavekes commented 1 month ago

This issue is imported from pivotal - Originaly created at Mar 30, 2022 by Bart Geesink

We currently experience some excessive requests on the token endpoint (an ill configured client seems to be the culprit). This leads to excessive json logging, filled with stacktraces like: Mar 30 12:12:58 japp5.prd.utr.surfconext.nl oidcngjson: {"@timestamp":"2022-03-30T12:12:58.925+02:00","message":"Error has occurred","logger_name":"oidc.web.ErrorController","level":"ERROR","stack_trace":"org.springframework.dao.EmptyResultDataAccessException: Result must not be null etc etc

There are also lot\'s of DEBUG statements in the json logging, even though the level is set to WARN

Can we make the json logging less verbose?

phavekes commented 1 month ago

logs in oidcng.log zijn juist heel summier:

Apr 12 06:36:06 japp4.prd.utr.surfconext.nl oidcng: [http-nio-9195-exec-9] oidc.web.ErrorController Error has occurred

In oidcngjson zitten dan allemaal stacktraces (Bart Geesink - Apr 12, 2022)