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

Bring JBossNettyLoggerFactory implementation in line with other implementations #27653

Merged
merged 1 commit into from Sep 1, 2022

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Sep 1, 2022

This change essentially makes all the method implementations behave in the same
way Netty's built-in implementations do.

Fixes: #27605

…mentations

This change essentially makes all the method implementations behave in the same
way Netty's built-in implementations do.

Fixes: quarkusio#27605

Co-authored-by: David M. Lloyd <david.lloyd@redhat.com>
log.error(msg, t);
}

}

// MessageFormatter class copied from Netty because its methods are package private
Copy link
Member

Choose a reason for hiding this comment

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

😩 Can we also put in an enhancement request upstream to Netty to make these public? Otherwise it defeats the purpose of having the logger be pluggable after all.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@geoand geoand Sep 1, 2022

Choose a reason for hiding this comment

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

Once netty/netty#12763 is in and we have new Netty version (looks like 4.1.81) in Quarkus that makes the methods public, we can delete the copied code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#28126 now removes the copied code

@geoand geoand merged commit a1f0167 into quarkusio:main Sep 1, 2022
@quarkus-bot quarkus-bot bot added this to the 2.13 - main milestone Sep 1, 2022
@geoand geoand deleted the #27605 branch September 1, 2022 13:09
@gsmet gsmet modified the milestones: 2.13 - main, 2.12.1.Final Sep 5, 2022
geoand added a commit to geoand/quarkus that referenced this pull request Sep 21, 2022
MessageFormatter and FormattingTuple were originally
copied from Netty because they didn't have the proper
access modifiers for us to use them.
With Netty 4.1.81 now being used in Quarkus, we can now
use the actual classes so let's get rid of the redundancy.

Follows up on: quarkusio#27653, quarkusio#28077
geoand added a commit to geoand/quarkus that referenced this pull request Sep 21, 2022
MessageFormatter and FormattingTuple were originally
copied from Netty because they didn't have the proper
access modifiers for us to use them.
With Netty 4.1.81 now being used in Quarkus, we can now
use the actual classes so let's get rid of the redundancy.

Follows up on: quarkusio#27653, quarkusio#28077
igorregis pushed a commit to igorregis/quarkus that referenced this pull request Oct 16, 2022
MessageFormatter and FormattingTuple were originally
copied from Netty because they didn't have the proper
access modifiers for us to use them.
With Netty 4.1.81 now being used in Quarkus, we can now
use the actual classes so let's get rid of the redundancy.

Follows up on: quarkusio#27653, quarkusio#28077
igorregis pushed a commit to igorregis/quarkus that referenced this pull request Oct 16, 2022
MessageFormatter and FormattingTuple were originally
copied from Netty because they didn't have the proper
access modifiers for us to use them.
With Netty 4.1.81 now being used in Quarkus, we can now
use the actual classes so let's get rid of the redundancy.

Follows up on: quarkusio#27653, quarkusio#28077
igorregis pushed a commit to igorregis/quarkus that referenced this pull request Oct 16, 2022
MessageFormatter and FormattingTuple were originally
copied from Netty because they didn't have the proper
access modifiers for us to use them.
With Netty 4.1.81 now being used in Quarkus, we can now
use the actual classes so let's get rid of the redundancy.

Follows up on: quarkusio#27653, quarkusio#28077
igorregis pushed a commit to igorregis/quarkus that referenced this pull request Oct 17, 2022
MessageFormatter and FormattingTuple were originally
copied from Netty because they didn't have the proper
access modifiers for us to use them.
With Netty 4.1.81 now being used in Quarkus, we can now
use the actual classes so let's get rid of the redundancy.

Follows up on: quarkusio#27653, quarkusio#28077
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Malformed DNS message on MacOS
3 participants