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

build(deps): bump log4j from 2.18.0 to 2.19.0 #234

Merged
merged 1 commit into from Sep 18, 2022
Merged

build(deps): bump log4j from 2.18.0 to 2.19.0 #234

merged 1 commit into from Sep 18, 2022

Conversation

yeikel
Copy link
Contributor

@yeikel yeikel commented Aug 22, 2022

Bump log4j from 2.18.0 to 2.19.0

Release notes:

log4j : https://logging.apache.org/log4j/2.x/changes-report.html#a2.19.0
slf4j : https://www.slf4j.org/faq.html#changesInVersion200

@oshai
Copy link
Owner

oshai commented Aug 26, 2022

@yeikel - would you like to take a look at the failing tests?

@yeikel yeikel marked this pull request as draft August 28, 2022 03:34
@yeikel
Copy link
Contributor Author

yeikel commented Aug 28, 2022

@yeikel - would you like to take a look at the failing tests?

I believe that this is blocked until log4j adds support for this

extra["slf4j_version"] = "1.7.32"
extra["log4j_version"] = "2.18.0"
extra["slf4j_version"] = "2.0.0"
extra["log4j_version"] = "2.18.1-SNAPSHOT"
Copy link

Choose a reason for hiding this comment

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

Can I suggest you move back to using Log4J 2.18.0 (instead of the snapshot) and change the log4j-slf4j-impl dependency to log4j-slf4j18-impl then it should work 😄
See here for info on the new implementation: https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html

log4j-slf4j18-impl should be used with SLF4J 1.8.x releases or newer.

Note: log4j-slf4j18-impl has a dependency on SLF4J 1.8-beta4 - I don't know why log4j haven't updated the dependency to 2.0.0 yet.

Copy link

Choose a reason for hiding this comment

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

Correction, log4j are in the process of upgrading to slf4j 2.x and will introduce log4j-slf4j2-impl in 2.19.0 which will depend on SLF4J 2.0.0 and will fully implement the interface
So this PR will have to wait until that happens, sorry for the confusion...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apologies for the confusion. I tried 2.18.1-SNAPSHOT to see if the snapshot would work(against the CI) but I'll put it back to a non-snapshot version as soon as we hear back from log4j

Copy link

Choose a reason for hiding this comment

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

Thanks, I think the Log4J SLF4J2 support is handled by this ticket in log4j: https://issues.apache.org/jira/browse/LOG4J2-3370 which is targeted at 2.19.0 - still no ETA on a 2.19.0 release though

@yeikel yeikel changed the title build(deps): bump org.slf4j:slf4j-api from 1.7.30 to 2.0.0 build(deps): bump org.slf4j:slf4j-api from 1.7.30 to 2.0.1 Sep 18, 2022
@yeikel yeikel changed the title build(deps): bump org.slf4j:slf4j-api from 1.7.30 to 2.0.1 build(deps): bump log4j from 2.18.0 to 2.19.0 Sep 18, 2022
- Bumps log4j from 2.18.0 to 2.19.0
- Bumps slf4j from 1.7.32 to 2.0.1
@yeikel yeikel marked this pull request as ready for review September 18, 2022 05:52
@yeikel
Copy link
Contributor Author

yeikel commented Sep 18, 2022

@shai It should be ready to go now

@oshai oshai merged commit 7335bca into oshai:master Sep 18, 2022
@oshai
Copy link
Owner

oshai commented Sep 18, 2022

Thanks!

@oshai
Copy link
Owner

oshai commented Sep 18, 2022

I think I am going to bump the version to 3.x for kotlin-logging to reflect the major upgrade of slf4j.

@yeikel
Copy link
Contributor Author

yeikel commented Sep 18, 2022

I think I am going to bump the version to 3.x for kotlin-logging to reflect the major upgrade of slf4j.

That sounds reasonable. Thank you!

@shai
Copy link

shai commented Sep 18, 2022

@shai It should be ready to go now

Wrong shai... Did you maybe wanna tag @oshai? I'm innocent 🤘🏻

@oshai
Copy link
Owner

oshai commented Sep 18, 2022

@shai It should be ready to go now

Wrong shai... Did you maybe wanna tag @oshai? I'm innocent 🤘🏻

yes, I figured that out.

@shai
Copy link

shai commented Sep 18, 2022

@shai It should be ready to go now

Wrong shai... Did you maybe wanna tag @oshai? I'm innocent 🤘🏻

yes, I figured that out.

I'll show myself out 👍🏼🤣

@yeikel
Copy link
Contributor Author

yeikel commented Sep 18, 2022

@shai It should be ready to go now

Wrong shai... Did you maybe wanna tag @oshai? I'm innocent 🤘🏻

yes, I figured that out.

I'll show myself out 👍🏼🤣

My bad haha

@yeikel yeikel deleted the patch-1 branch September 18, 2022 18:03
kyhule pushed a commit to kyhule/polyworld-external-catalog that referenced this pull request Jun 6, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[io.github.microutils:kotlin-logging-jvm](https://togithub.com/oshai/kotlin-logging)
| `2.1.23` -> `3.0.5` |
[![age](https://badges.renovateapi.com/packages/maven/io.github.microutils:kotlin-logging-jvm/3.0.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/maven/io.github.microutils:kotlin-logging-jvm/3.0.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/maven/io.github.microutils:kotlin-logging-jvm/3.0.5/compatibility-slim/2.1.23)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/maven/io.github.microutils:kotlin-logging-jvm/3.0.5/confidence-slim/2.1.23)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>oshai/kotlin-logging</summary>

###
[`v3.0.5`](https://togithub.com/oshai/kotlin-logging/releases/tag/3.0.5)

[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/3.0.4...3.0.5)

#### What's Changed

- build(deps): bump kotlin multiplatform from 1.7.20 to 1.7.21 by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[oshai/kotlin-logging#261
- upgrade kotlin to 1.8.0 by [@&#8203;oshai](https://togithub.com/oshai)
in
[oshai/kotlin-logging#267
- update links by [@&#8203;oshai](https://togithub.com/oshai) in
[oshai/kotlin-logging#268

**Full Changelog**:
oshai/kotlin-logging@3.0.4...3.0.5

###
[`v3.0.4`](https://togithub.com/oshai/kotlin-logging/releases/tag/3.0.4)

[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/3.0.3...3.0.4)

#### What's Changed

- set jvmTarget back to 8 by [@&#8203;oshai](https://togithub.com/oshai)
in
[oshai/kotlin-logging#258
- add ktfmtCheck to CI by [@&#8203;oshai](https://togithub.com/oshai) in
[oshai/kotlin-logging#259

**Full Changelog**:
oshai/kotlin-logging@3.0.3...3.0.4

###
[`v3.0.3`](https://togithub.com/oshai/kotlin-logging/releases/tag/3.0.3)

#### What's Changed

- add "Automatic-Module-Name" for
[#&#8203;223](https://togithub.com/oshai/kotlin-logging/issues/223) by
[@&#8203;oshai](https://togithub.com/oshai) in
[oshai/kotlin-logging#256
- reword slf4j usage for
[#&#8203;229](https://togithub.com/oshai/kotlin-logging/issues/229) by
[@&#8203;oshai](https://togithub.com/oshai) in
[oshai/kotlin-logging#255
- add simple native test (main) by
[@&#8203;oshai](https://togithub.com/oshai) in
[oshai/kotlin-logging#219

**Full Changelog**:
oshai/kotlin-logging@3.0.1...3.0.3

###
[`v3.0.0`](https://togithub.com/oshai/kotlin-logging/releases/tag/3.0.0)

[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/2.1.23...3.0.0)

#### What's Changed

**Major version upgrade to 3.0.0 to reflect upgrade of slf4j to 2.x.**

- Upgrade slf4j 1.x->2.x by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[oshai/kotlin-logging#234
- fix kdoc of mu.KotlinLogging.logger by
[@&#8203;aivantsov](https://togithub.com/aivantsov) in
[oshai/kotlin-logging#230
- remove 1.x links from readme by
[@&#8203;oshai](https://togithub.com/oshai) in
[oshai/kotlin-logging#231
- build(deps): bump log4j from 2.17.1 to 2.18.0 by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[oshai/kotlin-logging#235
- Create SECURITY.md by [@&#8203;oshai](https://togithub.com/oshai) in
[oshai/kotlin-logging#237
- Bump gradle wrapper to 7.5.1 by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[oshai/kotlin-logging#238

#### New Contributors

- [@&#8203;aivantsov](https://togithub.com/aivantsov) made their first
contribution in
[oshai/kotlin-logging#230
- [@&#8203;yeikel](https://togithub.com/yeikel) made their first
contribution in
[oshai/kotlin-logging#235

**Full Changelog**:
oshai/kotlin-logging@2.1.23...3.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kyhule/polyworld-external-catalog).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

None yet

4 participants