Juan Hernandez has submitted this change and it was merged.
Change subject: sdk: Avoid duplicated log appenders
......................................................................
sdk: Avoid duplicated log appenders
Currently when the debug mode is enabled two appenders are added to the
"org.apache.http" logger, one is added to the root category and another
is added to the "org.apache.http" logger itself. This results in
duplicated log messages. This patch changes the SDK so that only one
appender is added.
This change was done before, in commit a9776fd, but that changed only
the generated code, so the change was lost after regenerating the SDK.
This patch changes it generated code and in the template, so it won't be
lost next time the SDK is regenerated.
Change-Id: Ibf617e61a5d8b0ffefc172454228562078bcf0b5
Related:
https://gerrit.ovirt.org/40518
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M generator/src/main/java/org/ovirt/engine/sdk/generator/java/templates/ApiTemplate
M sdk/Makefile
M sdk/src/main/java/org/ovirt/engine/sdk/Api.java
3 files changed, 1 insertion(+), 7 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/43611
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf617e61a5d8b0ffefc172454228562078bcf0b5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org