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

Feature request: Allow admin to customize OSD logging exception handling behavior #6607

Closed
Tracked by #6600
seraphjiang opened this issue Apr 23, 2024 · 0 comments · Fixed by #6733
Closed
Tracked by #6600
Assignees
Labels
enhancement New feature or request v2.15.0

Comments

@seraphjiang
Copy link
Member

seraphjiang commented Apr 23, 2024

Is your feature request related to a problem? Please describe.

OpenSearch Dashboards has its own logger implementation inspired by log4j 2.

https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/core/server/logging/README.md

The current implementation doesn't offer advanced capability like async logger that is useful when admin want to customize the their logger exception handle behavior

e.g. Handle the fatal exception when OSD fail to write to log to avoid crash

Describe the solution you'd like

Provide a feature, which admin could configure logger exception handling

Describe alternatives you've considered

Evaluate other open source library to see if they could be leveraged and replace OSD's implementation for same purpose
e.g.

https://github.com/log4js-node/log4js-node

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