-
Notifications
You must be signed in to change notification settings - Fork 74
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
feat: allow deployment time selection of logging framework #243 #244
Conversation
@bestbeforetoday changes look reasonable to me. |
854a2f3
to
bd6c5d6
Compare
@vbarua Thank you for the quick feedback. I've made another pass to refine the change. I've still left the PR in draft as I need to get a review of the CLA from my employer before I can sign off on it. I'll mark it ready for review once I have that done. In the meantime, any feedback or change suggestions are very welcome. |
bd6c5d6
to
e096474
Compare
e096474
to
79de067
Compare
@vbarua I have rebased on the latest commit and this should be ready for review now. |
Depend on slf4j-api instead of the slf4j-jdk14 logging framework. This allows consumers to select their preferred logging framework at deployment time by adding an appropriate SLF4J provider to their runtime classpath. If no SLF4J provider is available at runtime, no logging output will be produced. The code still functions as expected. The isthmus CLI command continues to log using java.util.logging by including the slf4j-jdk14 provider in its runtime classpath. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
79de067
to
61a0033
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.
This looks good. Thanks for contributing this!
Depend on slf4j-api instead of the slf4j-jdk14 logging framework. This allows consumers to select their preferred logging framework at deployment time by adding an appropriate SLF4J provider to their runtime classpath.
If no SLF4J provider is available at runtime, no logging output will be produced. The code still functions as expected.
The isthmus CLI command continues to log using java.util.logging by including the slf4j-jdk14 provider in its runtime classpath.