Quarkus logging#2171
Conversation
lampajr
left a comment
There was a problem hiding this comment.
Overall lgtm!
I've just one doubt, the quarkus doc clearly says that:
Only use the Log API in application classes, not in external dependencies. Log method calls that are not processed by Quarkus at build time will throw an exception.
But I see we are using horreum-infra-common in the Jenkins plugin that is not using Quarkus IIUC 👉🏻 https://github.com/jenkinsci/horreum-plugin/blob/bb0d263b081da6967bba3ca6e98f4d3dc9c194cd/pom.xml#L248-L253, therefore I think there could be some problem there, wdyt?
good catch. |
|
I was thinking whether we want to backport this or not, if we won't.. it means that most of the next PRs that need to be backported will likely have some conflicts.. therefore I see two options:
wdyt @johnaohara @barreiro ? |
|
I'm fine either way. I guess it will depend on how long it will take until a |
yeah exactly! I would like to get #2202 merged and backported and then I think we can merge this one as well (IMO I would also backport it even if we won't release it in the 0.16 stream) |
|
I would like to get this included in the next version, @barreiro can you give it a look and resolve the existing conflicts? |
|
@lampajr rebased |
Fixes Issue
Fixes #1993
Changes proposed
org.jboss.logging.Loggertoio.quarkus.logging.Logdebugf,infofand other "format" methods+when creatingExceptionmesages"".formatted()instead ofString.format()Check List (Check all the applicable boxes)