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

[MS10] Log4j API generalization #1 #2273

Closed
vy opened this issue Feb 8, 2024 · 1 comment
Closed

[MS10] Log4j API generalization #1 #2273

vy opened this issue Feb 8, 2024 · 1 comment
Assignees
Labels
STF-Milestones Milestones funded by the Sovereign Tech Fund

Comments

@vy
Copy link
Member

vy commented Feb 8, 2024

Currently, Log4j 3 contains a new API (log4j-api-3.x) and this is not a good thing. We want to generalize the Log4j 2 API (log4j-api-2.x) as "the Log4j API" and use it in Log4j 3 too. (See the maintainer resolution.) This milestone contributes to that effort.

Log4j 2 API generalization

Log4j 2 API has several parts that are specialized for Log4j 2. This specialization makes it difficult to be a drop-in replacement for Log4j 3 API, which we intend to replace, yet Log4j 3 depends on it with several assumptions. We need to refactor these specialized Log4j 2 API mechanisms such that

  1. They are isolated and self-sustained (so that it doesn't matter if they are used in a Log4j 2 or Log4j 3 context)
  2. They allow plugging in 3rd party business logic (so that Log4j 2 or Log4j 3 can customize their behaviour as they see fit)

Miscellaneous improvements

In accordance with Boy Scout Rule, things we have improved along the way:

@vy vy added the STF-Milestones Milestones funded by the Sovereign Tech Fund label Feb 8, 2024
@vy vy self-assigned this Feb 8, 2024
@grobmeier
Copy link
Member

Confirmed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STF-Milestones Milestones funded by the Sovereign Tech Fund
Projects
None yet
Development

No branches or pull requests

2 participants