logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

Synchronization with `main` backlog

Open ppkarwasz opened this issue 1 year ago • 17 comments

This meta-issue lists the PRs or modifications that didn't make it to main yet. Feel free to modify it after each merged PR that you don't have time or can not port immediately:

  • [ ] #2716
  • [ ] #2962
  • [x] #3055
  • [x] #3052
  • [x] #3118
  • [ ] #3158
  • [x] #3133
  • [x] #3175 (not needed before first 3.0.0 release)
  • [ ] #3226
  • [ ] #3195
  • [x] #3338
  • [x] #3259
  • [x] #3260
  • [ ] #3265
  • [ ] #3217 (documentation part)
  • [ ] #3381
  • [ ] #3418
  • [x] #3438
  • [x] #3469
  • [ ] #3467
  • [x] https://github.com/apache/logging-log4j2/commit/e9168137ab4463013aa8d3007812b4a1cf569dac

Ported PRs:

  • [ ] #3583
  • [x] #3584
  • [x] #3586
  • [ ] #3171
  • [x] #3372
  • [x] #3322

ppkarwasz avatar Nov 04 '24 08:11 ppkarwasz

Hi @ppkarwasz, I’d like to help with porting some of the changes listed here from 2.x to main.

I’m planning to start with: • [ ] Remove outdated @BaselineIgnore annotations (#3133)

I’ll create separate PRs for each, referencing this issue. Please let me know if this approach works or if you’d prefer I prioritize other items.

ramanathan1504 avatar Aug 25 '25 02:08 ramanathan1504

I’d like to help with porting some of the changes listed here from 2.x to main.

@ramanathan1504, please be our guest in doing so. PR-per-issue is a good idea. I advise starting with simpler ones and making your way to more involved issues.

vy avatar Aug 25 '25 09:08 vy

@vy Thanks for the guidance! I’ll begin with the smaller issues to get familiar with the codebase and then tackle the more complex ones.

ramanathan1504 avatar Aug 25 '25 13:08 ramanathan1504

Hi @ramanathan1504,

Thank you for the help. Please coordinate with @jvz, since he is also working on these ports.

ppkarwasz avatar Aug 25 '25 14:08 ppkarwasz

@ppkarwasz ok

ramanathan1504 avatar Sep 03 '25 07:09 ramanathan1504

Hi @jvz, I noticed that PR #3381 fixed issue #3170 in the 2.x branch. Should this also be ported into main? If it’s not already in progress, I’d be happy to take it up.

ramanathan1504 avatar Sep 03 '25 07:09 ramanathan1504

@ramanathan1504 go for it!

jvz avatar Sep 03 '25 16:09 jvz

@jvz PR #3381 issue #3170 synced with main, can I take pr #3199

ramanathan1504 avatar Sep 07 '25 15:09 ramanathan1504

can I take pr #3199

@ramanathan1504, go ahead. (AFAIK, @jvz is busy with DI- and plugins-related tasks.)

vy avatar Sep 09 '25 19:09 vy

@vy ok

ramanathan1504 avatar Sep 09 '25 19:09 ramanathan1504

Hi @vy,

While working on this PR I noticed that the failing tests are related to earlier work in PR #3418 (issues #3252, #3399, and the discussion in #3209). That some change seems to have landed in the 2.24 branch, but I don’t see it yet in 2.x or main.

Am I correct that the fix needs to be ported forward (from 2.24 → 2.x → main) before this PR can pass cleanly?

Would you like me to take care of the porting as part of this PR (or as separate follow-ups), or should I rebase on a branch where the port has already been done?

ramanathan1504 avatar Sep 12 '25 05:09 ramanathan1504

The changes to InternalLoggerRegistry were added to 2.x in #3681. They didn't end up in main as far as I know, though.

ppkarwasz avatar Sep 12 '25 11:09 ppkarwasz

@ppkarwasz so first #3681 needs to port then i will port #3199 and related pr's to main..right?

ramanathan1504 avatar Sep 13 '25 03:09 ramanathan1504

Both those PRs are already merged, so:

  • First #3199 needs to be cherry picked, because it introduces InternalLoggerRegistry.
  • Then #3681 needs to be cherry picked.

Of course, this can be done in one PR. Since main does not host the Log4j API any more, parts of those PR need to be simply discarded.

ppkarwasz avatar Sep 13 '25 05:09 ppkarwasz

I'm not actively working on other issues at the moment, but I am available for code review and to answer questions about how things work. @ramanathan1504

jvz avatar Sep 14 '25 19:09 jvz

Both those PRs are already merged, so:

Of course, this can be done in one PR. Since main does not host the Log4j API any more, parts of those PR need to be simply discarded.

Thanks! This all started when I was working on #3418, so I’ll reach out if I have any questions along the way.

so can I skip and take some other

ramanathan1504 avatar Sep 16 '25 09:09 ramanathan1504

I'm not actively working on other issues at the moment, but I am available for code review and to answer questions about how things work. @ramanathan1504

Thanks! I’ll reach out if I have any questions.

ramanathan1504 avatar Sep 16 '25 09:09 ramanathan1504

hey @ppkarwasz, what about #3789?

ashr123 avatar Dec 13 '25 11:12 ashr123

what about #3789?

@ashr123, feel free to submit a PR porting #3789 from 2.x to main.

vy avatar Dec 15 '25 09:12 vy

what about #3789?

@ashr123, feel free to submit a PR porting #3789 from 2.x to main.

As I can see, all the patterns (except of org.apache.logging.log4j.core.pattern.DatePatternConverter#DEFAULT_PATTERN) dropped… so.. I’m not sure my PR is relevant anymore, correct me if I’m wrong..

ashr123 avatar Dec 15 '25 16:12 ashr123