This is an automated email from the ASF dual-hosted git repository. sseifert pushed a commit to branch experimental/WTES-69-diagnosis in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-osgi-mock.git
commit 17245c3847ee00d824c53d35773ba051076f531b Author: Stefan Seifert <[email protected]> AuthorDate: Tue Dec 7 09:05:33 2021 +0100 logging variants --- .../java/org/apache/sling/testing/mock/osgi/MockBundleContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java b/core/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java index 28bfea4..240f547 100644 --- a/core/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java +++ b/core/src/main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java @@ -128,7 +128,7 @@ class MockBundleContext implements BundleContext { @SuppressWarnings("unchecked") @Override public ServiceRegistration registerService(final String[] clazzes, final Object service, final Dictionary properties) { - //log.debug("Register {} ({}), bundleContext={}", service, clazzes, this); + log.debug("Register {} ({}), bundleContext={}", null, null, this); /* if (log.isDebugEnabled()) { log.debug("Register {} ({}), bundleContext={}", service.getClass().getName(), StringUtils.join(clazzes, ","), this); @@ -207,7 +207,7 @@ class MockBundleContext implements BundleContext { } void unregisterService(MockServiceRegistration<?> registration) { - log.debug("Unregister {} ({}), bundleContext={}", this); + log.debug("Unregister {} ({}), bundleContext={}", registration, null, this); /* if (log.isDebugEnabled()) { Object componentInstance = registration.service;
