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

enhancement: Do not print stacktraces when we expect object to not be found. #1646

Closed
yuriyz opened this issue Mar 2, 2022 · 1 comment
Closed
Assignees
Labels
enhancement libs update, re-factroring, etc. exclude from release notes issues found during QA that should be excluded from release notes
Milestone

Comments

@yuriyz
Copy link
Contributor

yuriyz commented Mar 2, 2022

Describe the issue

If session is expired and try to fetch it, it prints verbose stack trace which produce a lot of noise in logs. We have to log such event without stacktrace.

    at org.gluu.oxauth.service.SessionIdService.getSessionId(SessionIdService.java:820)
    at org.gluu.oxauth.service.SessionIdService.getSessionId(SessionIdService.java:811)
    at org.gluu.oxauth.service.SessionIdService$Proxy$_$_WeldClientProxy.getSessionId(Unknown Source)
    at org.gluu.oxauth.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:199)

Places to check:

For reference
e48902b

@yuriyz
Copy link
Contributor Author

yuriyz commented Mar 7, 2022

Done in both oxauth (main) and jans.

@yuriyz yuriyz closed this as completed Mar 7, 2022
@shmorri shmorri added the exclude from release notes issues found during QA that should be excluded from release notes label Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement libs update, re-factroring, etc. exclude from release notes issues found during QA that should be excluded from release notes
Projects
None yet
Development

No branches or pull requests

2 participants