Skip to content

Move production code to log4j-async-logger #2248

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

Merged
merged 5 commits into from
Jan 26, 2024
Merged

Conversation

ppkarwasz
Copy link
Contributor

This PR move the main classes linked with AsyncLogger, AsyncLoggerConfig and AsyncLoggerContextSelector to the log4j-async-logger artifact.

It also removes the dependency on LMAX Disruptor from log4j-core.

Part of #2163.

A couple more tests require changes to be independent from async loggers
and logger configurations.

The `CoreContextSelectors` class is not used, so we remove it.
This moves the main code for `AsyncLogger` and `AsyncLoggerConfig` to
`log4j-async-logger`.

Further tasks such as proper encapsulation into internal packages and
removal of the optional dependency guards, will be performed in a future
task.
@Tag("async")
@UsingStatusListener
@Timeout(value = 5, unit = SECONDS, threadMode = ThreadMode.SEPARATE_THREAD)
public abstract class QueueFullAbstractTest {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This class has been split in two: QueueFullAbstractTest for the async appender part and QueueFullAsyncAbstractTest.

@ppkarwasz ppkarwasz merged commit d529321 into move-async Jan 26, 2024
@ppkarwasz ppkarwasz deleted the move-async-end branch January 26, 2024 09:05
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