You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2021/12/07 09:18:21 UTC

[sling-org-apache-sling-testing-osgi-mock] 06/07: disable log on register again

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 a0f6a4aea6d33402610b19b69fbe1b4ca538d2f3
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Tue Dec 7 08:53:18 2021 +0100

    disable log on register again
---
 .../main/java/org/apache/sling/testing/mock/osgi/MockBundleContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ff66942..28bfea4 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={}", service, clazzes, this);
         /*
         if (log.isDebugEnabled()) {
             log.debug("Register {} ({}), bundleContext={}", service.getClass().getName(), StringUtils.join(clazzes, ","), this);