-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Simplify logging using static invocations and bytecode transformation #14586
Conversation
Thanks for your pull request! The title of your pull request does not follow our editorial rules. Could you have a look?
|
207ee6d
to
01150c9
Compare
Creating as a draft to let CI run in my fork, and perhaps to solicit some early reviews. The entire thing works, but need to decide where to put the code (probably shouldn't be a standalone extension, but part of |
VERY NICE!!! |
...ions/logging/deployment/src/main/java/io/quarkus/logging/deployment/QuarkusLogProcessor.java
Outdated
Show resolved
Hide resolved
Very nice indeed! |
One thing I wanted to ask everyone: should this be an extra extension (it is right now), or part of something else? There's just one class in |
It feels like a core thing to me |
Definitely core material IMO. |
We want people to have this OOTB and it doesn't cost if people don't use it and there are no new dependencies. |
Agree, thanks, I'll move it around. |
01150c9
to
6d4bd65
Compare
Moved to core and added documentation. |
6d4bd65
to
51ab404
Compare
And also added a devmode test. |
2955769
to
556a8d8
Compare
So why is this still a draft? |
Waiting for @n1hility to merge smallrye/jandex#112 and release Jandex 3.0 :-) |
Mmm, who else can merge this? |
CI passed in my fork. After 8 months, marking as ready for review :-) |
Hmm I should probably get the Jandex Maven plugin also updated... |
👍, was about to leave a note on that! |
It's there: wildfly/jandex-maven-plugin#32 :-) |
integration-tests/logging-panache/src/test/java/io/quarkus/logging/GenerateAllLogUsages.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as advertised! Good job!
Let's merge this once #14586 (comment) is fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for the documentation update. Feel free to dismiss this request for changes and merge once it's done
core/deployment/src/main/java/io/quarkus/deployment/logging/LoggingWithPanacheProcessor.java
Show resolved
Hide resolved
Jandex Maven plugin 1.2.0 released, I'll bump it in this PR when it reaches Central. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, congrats!
core/deployment/src/main/java/io/quarkus/deployment/logging/LoggingWithPanacheProcessor.java
Show resolved
Hide resolved
4596faa
to
1c31ff4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get this merged after the plugin version bump. Good job @Ladicek !
Also update Jandex to 2.4.0.Final and Jandex Maven plugin to 1.2.0.
1c31ff4
to
a5424ae
Compare
Jandex Maven plugin updated to 1.2.0, yay! |
Resolves #10929.