Skip to content

Conversation

@ppkarwasz
Copy link
Contributor

@ppkarwasz ppkarwasz commented Mar 25, 2024

Due to differences in the lifecycle of Log4j Core and Kubernetes Client, we remove log4j-kubernetes from the 3.x release and redirect users to Fabric8's own kubernetes-log4j artifact introduced in version 6.11.0.

Motivation

The log4j-kubernetes lookup depends on:

  • the very stable StrLookup interface from Log4j Core,
  • the evolving set of Kubernetes metadata provided by Kubernetes Client.

Therefore it makes more sense to distribute the lookup together with Kubernetes Client.

@ppkarwasz ppkarwasz requested review from rgoers and vy March 25, 2024 12:23
Copy link
Member

@rgoers rgoers left a comment

Choose a reason for hiding this comment

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

This looks good to me. Should it be dropped in 2.x as well?

@ppkarwasz
Copy link
Contributor Author

This looks good to me. Should it be dropped in 2.x as well?

I guess we can also drop it from 2.x.

@vy
Copy link
Member

vy commented Mar 26, 2024

+1 for dropping it from 2.x. @ppkarwasz, could you also submit a PR for that too, please?

@ppkarwasz
Copy link
Contributor Author

@vy, I submitted a 2.x equivalent in #2412

ppkarwasz added a commit that referenced this pull request Mar 26, 2024
Due to differences in the lifecycle of Log4j Core and Kubernetes Client,
we remove `log4j-kubernetes` from the 3.x release and redirect users to
Fabric8's own `kubernetes-log4j` artifact introduced in fabric8io/kubernetes-client#5718.

The `log4j-kubernetes` lookup depends on:

* the very stable `StrLookup` interface from Log4j Core,
* the evolving set of Kubernetes metadata provided by Kubernetes Client.

Therefore it makes more sense to distribute the lookup together with
Kubernetes Client.
@ppkarwasz ppkarwasz force-pushed the feature/remove-log4j-kubernetes branch from e9525d4 to e62988b Compare March 27, 2024 15:53
@ppkarwasz ppkarwasz merged commit e62988b into main Mar 27, 2024
@ppkarwasz ppkarwasz deleted the feature/remove-log4j-kubernetes branch March 27, 2024 15:53
@ppkarwasz
Copy link
Contributor Author

Closes #2218

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