-
Notifications
You must be signed in to change notification settings - Fork 906
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
Issue 2837: Remove unnecessary log4j bindings from Bookkeeper packages #2838
Issue 2837: Remove unnecessary log4j bindings from Bookkeeper packages #2838
Conversation
…ndencies in both grale and pom files. Signed-off-by: Raúl <raul.gracia@emc.com>
Signed-off-by: Raúl <raul.gracia@emc.com>
Signed-off-by: Raúl <raul.gracia@emc.com>
Signed-off-by: Raúl <raul.gracia@emc.com>
@RaulGracia Any updates on this? |
Thanks @zymap, I sent out this PR out for getting feedback related to this comment: https://github.com/apache/bookkeeper/pull/2816/files#r729987757. It is in draft mode to prevent it from getting merged before we agree that it addresses the original comment. Now I see that there is a conflict from a recent merge, I will resolve it. |
Signed-off-by: Raúl <raul.gracia@emc.com>
Signed-off-by: Raúl <raul.gracia@emc.com>
Signed-off-by: Raúl <raul.gracia@emc.com>
@RaulGracia Looks good. |
Signed-off-by: Raúl <raul.gracia@emc.com>
4a184cf
to
ea1aba4
Compare
Tests failure:
@RaulGracia Could you please take a look at the failure tests? I rerun the tests and it still failed 😕 |
Thanks @zymap, I think that the problem may be as follows:
I will work on finding the best way to make |
Signed-off-by: Raúl <raul.gracia@emc.com>
@eolivelli @pkumar-singh @zymap I think that this PR now addresses the original comment that suggested that we should not be bringing log implementation bindings in neither Also, this PR has been tagged as version 4.14.3, but I think that this is not correct; This PR is related to PR #2816 that targets 4.15 (current |
Looks very good. |
Looks good to me. Approved.
Thanks
-Prashant.
…On Mon, Oct 25, 2021 at 10:52 AM Raúl Gracia ***@***.***> wrote:
@eolivelli <https://github.com/eolivelli> @pkumar-singh
<https://github.com/pkumar-singh> @zymap <https://github.com/zymap> I
think that this PR now addresses the original comment
<#2816 (comment)>
that suggested that we should not be bringing log implementation bindings
in neither bookkeeper-server and bookkeeper-common. Note that for
bookkeeper-common this was true, but I think that was not the case for
bookkeeper-server (as visible, FileSystemUpgrade class was using log4j
APIs within bookkeeper-server main code). I have set this PR ready to
review, so it would be great to get your feedback about it.
Also, this PR has been tagged as version 4.14.3, but I think that this is
not correct; This PR is related to PR #2816
<#2816> that targets 4.15
(current master).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2838 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APQ5IN4KNKOFRE633ZADN53UIWKMTANCNFSM5GIT2YDQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
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.
LGTM
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.
Overall lgtm
I left one comment PTAL
Signed-off-by: Raúl Gracia <raul.gracia@emc.com>
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.
LGTM
I am not sure that this change fits 4.14.x, because we are changing the dependencies, it is kind of breaking change. WDTY ? |
@eolivelli you are right and I posted the same here: #2838 (comment) |
So should I remove the #2816 from 4.14.x as well? Because this PR looks like an improvement of PR #2816. @eolivelli @RaulGracia |
@zymap, @eolivelli is right, PR #2816 focuses on |
@zymap have you reviewed this PR ? can we merge to master in your opinion ? |
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.
LGTM
committed to master branch, thank you @RaulGracia |
Motivation
Remove log bindings from
bookkeeper-common
andbookkeeper-server
.Changes
bookkeeper-common
andbookkeeper-server
main code:test
scope, as there are tests that directly rely on log4j APIs for their test logic.bookkeeper-server
to work only with slf4j, we needed to remove direct use of log4j API inFileSystemUpgrade
class.Master Issue: #2837