Skip to content

Add recipe to convert log creation from JBoss Logging to SLF4J#283

Merged
timtebeek merged 2 commits into
openrewrite:mainfrom
tmoreira2020:main
Mar 8, 2026
Merged

Add recipe to convert log creation from JBoss Logging to SLF4J#283
timtebeek merged 2 commits into
openrewrite:mainfrom
tmoreira2020:main

Conversation

@tmoreira2020

Copy link
Copy Markdown
Contributor

What's changed?

The recipe JBoss Logging to SLF4J now converts the log creation too.

What's your motivation?

The project that i'm working on requires that the change of the log creation.

Anyone you would like to review specifically?

@timtebeek

Have you considered any alternatives or workarounds?

The only workaround that I found was create this PR 😄

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

Comment thread src/test/java/org/openrewrite/java/logging/slf4j/JBossLoggingToSlf4jTest.java Outdated
@timtebeek timtebeek merged commit eb362de into openrewrite:main Mar 8, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Mar 8, 2026
@timtebeek

Copy link
Copy Markdown
Member

Thanks a lot! Odd how we had forgotten these earlier, but great to see them covered now. Hope that helps you migrate!

mergify Bot added a commit to robfrank/linklift that referenced this pull request Mar 19, 2026
…rom 3.25.0 to 3.26.0 [skip ci]

Bumps [org.openrewrite.recipe:rewrite-logging-frameworks](https://github.com/openrewrite/rewrite-logging-frameworks) from 3.25.0 to 3.26.0.
Release notes

*Sourced from [org.openrewrite.recipe:rewrite-logging-frameworks's releases](https://github.com/openrewrite/rewrite-logging-frameworks/releases).*

> 3.26.0
> ------
>
> What's Changed
> --------------
>
> * Add recipe to convert log creation from JBoss Logging to SLF4J by [`@​tmoreira2020`](https://github.com/tmoreira2020) in [openrewrite/rewrite-logging-frameworks#283](https://redirect.github.com/openrewrite/rewrite-logging-frameworks/pull/283)
>
> New Contributors
> ----------------
>
> * [`@​tmoreira2020`](https://github.com/tmoreira2020) made their first contribution in [openrewrite/rewrite-logging-frameworks#283](https://redirect.github.com/openrewrite/rewrite-logging-frameworks/pull/283)
>
> **Full Changelog**: <openrewrite/rewrite-logging-frameworks@v3.25.0...v3.26.0>


Commits

* [`673a399`](openrewrite/rewrite-logging-frameworks@673a399) OpenRewrite recipe best practices
* [`eb362de`](openrewrite/rewrite-logging-frameworks@eb362de) Add recipe to convert log creation from JBoss Logging to SLF4J ([#283](https://redirect.github.com/openrewrite/rewrite-logging-frameworks/issues/283))
* [`f9ff295`](openrewrite/rewrite-logging-frameworks@f9ff295) Update suppression date from March to April 2026
* See full diff in [compare view](openrewrite/rewrite-logging-frameworks@v3.25.0...v3.26.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.openrewrite.recipe:rewrite-logging-frameworks&package-manager=maven&previous-version=3.25.0&new-version=3.26.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants