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

Fixes location information in JDK14LoggerAdapter #439

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ppkarwasz
Copy link
Contributor

The JDK14LoggerAdapter class uses the wrong caller boundary for location unaware methods.

This PR:

  • Sets the correct caller boundary for classic API method calls (AbstractLogger),
  • Adds the missing LoggingEventAware interface and fixes its implementation. The interface was previously implemented, but not declared.
  • Simplifies the fix for slf4j-jdk14 adapter: Logger.log's fqcn parameter ignored #425 and adds a test for that issue.

The SubstituteLogger tests depend on #438.

The `JDK14LoggerAdapter` class uses the wrong caller boundary for location unaware methods.

This PR:

- Sets the correct caller boundary for classic API method calls (`AbstractLogger`),
- Adds the missing `LoggingEventAware` interface and fixes its implementation. The interface was previously implemented, but not declared.
- Adds a test for qos-ch#425.

The `SubstituteLogger` tests depend on qos-ch#438.

Signed-off-by: Piotr P. Karwasz <piotr.github@karwasz.org>
@ppkarwasz ppkarwasz marked this pull request as draft October 28, 2024 22:59
@ppkarwasz
Copy link
Contributor Author

I am converting this to draft, since it requires #438.

@firoj0
Copy link

firoj0 commented Dec 21, 2024

#438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants