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

Add configuration option to log unhandled exceptions to the error log #516

Open
jesse-gallagher opened this issue Mar 6, 2024 · 2 comments
Labels
enhancement New feature or request rest

Comments

@jesse-gallagher
Copy link
Member

Currently, the exception mappers just emit the exception to the client. However, in some cases, and particularly during development, it'd be very useful to have these logs go to error-log-x.xml instead. It could make sense for an Application property to specify this, or something in xsp.properties.

@jesse-gallagher jesse-gallagher added enhancement New feature or request rest labels Mar 6, 2024
@slapraik-intec
Copy link

A couple of ideas here...

  1. Would it be possible to integrate OpenLog.nsf here?
  2. Would it be possible within code to dynamically change the path of the target log database/file? i.e. an app and/or api may have different log dbs/files depending on what data it is dealing with, so the code needs to know what it is dealing with before it can determine which log to use.

@jesse-gallagher
Copy link
Member Author

That's another category that I've pondered. My experiences with Java logging frameworks other than just java.util.logging make me very, very wary of adding any in, but it could be worth looking into making it internally service-based, with a default using just normal JUL. Ideally, Domino itself would have a better handler than the old IBM one, and that could be its own neat project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rest
Projects
None yet
Development

No branches or pull requests

2 participants