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

Increase logging if error encountered during POSIX library loading #27

Open
tgd opened this issue Aug 8, 2023 · 0 comments
Open

Increase logging if error encountered during POSIX library loading #27

tgd opened this issue Aug 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request review

Comments

@tgd
Copy link
Contributor

tgd commented Aug 8, 2023

In some instances the POSIX library will fail to load appropriately. One recent example is if an application using the POSIX library is run from a part of the filesystem that has the noexec flag. In this situation, and if no SLF4J implementation is available, no warnings or error will be shown in standard out or standard error.

In the case where POSIX can not be loaded at application initialization downstream callsites will encounter a NullPointerException when making POSIX calls. One such call site is found in queue - when the appender closes it calls msync.

@tgd tgd self-assigned this Aug 8, 2023
@tgd tgd added the enhancement New feature or request label Jan 25, 2024
@tgd tgd added the review label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request review
Projects
None yet
Development

No branches or pull requests

1 participant