https://github.com/openconext/openconext-threshold-logging
https://github.com/openconext/openconext-threshold-logging
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/openconext/openconext-threshold-logging
- Owner: OpenConext
- License: apache-2.0
- Created: 2020-06-05T13:20:30.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T17:02:58.000Z (about 1 year ago)
- Last Synced: 2025-02-22T10:53:28.267Z (about 1 year ago)
- Language: Java
- Size: 14.6 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenConext-threshold-logger
Not all exceptions should result in an email. The `CustomThresholdFilter` can be configured with Exception classes to ignore.
Example snippet configuration of logback.xml
```
{{ smtp_server }}
{{ noreply_email }}
{{ error_mail_to }}
{{ error_subject_prefix }}Unexpected error myconext
WARN
com.nimbusds.oauth2.sdk.ParseException
org.springframework.security.authentication.BadCredentialsException
oidc.exceptions.RedirectMismatchException
org.springframework.dao.EmptyResultDataAccessException
java.lang.IllegalArgumentException
```