Skip to content

Conversation

@SergioRuyDev
Copy link

This PR replaces the usage of @Inject org.jboss.logging.Logger with the io.quarkus.logging.Log static API throughout the project.

Motivation for this change:

  • Simplification: The Log static API simplifies logging calls by removing the need for @Inject and instance creation, leading to cleaner code.
  • Quarkus Idiomatic: Aligns the project's logging practices with the recommended and more idiomatic way of handling logs in Quarkus applications.
  • Reduced boilerplate: Contributes to reducing boilerplate code.

@SergioRuyDev
Copy link
Author

Hi @gastaldi please, can you review this PR?

@SergioRuyDev SergioRuyDev requested a review from gastaldi June 6, 2025 11:18
Copy link
Member

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

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

It looks good, but it looks like it reorganized imports unrelated to this change?

@SergioRuyDev
Copy link
Author

It looks good, but it looks like it reorganized imports unrelated to this change?

Thanks again for the review, Gastaldi. I've reverted the imports to their original organization, only removing the JBoss log import that was already removed from the class.

@SergioRuyDev SergioRuyDev requested a review from gastaldi June 11, 2025 11:43
Copy link
Member

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

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

Nice!

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.

2 participants