Make logging less verbose
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 23 Aug 2022 08:44:35 +0000 (10:44 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 23 Aug 2022 08:44:35 +0000 (10:44 +0200)
swt/org.argeo.cms.swt/src/org/argeo/cms/swt/AbstractSwtCmsView.java

index c481a2cc07be061e38b0db28c2212e50d096775a..ff752c8cafe8d417c08e6995ee8d5822fe86f922 100644 (file)
@@ -54,10 +54,10 @@ public abstract class AbstractSwtCmsView implements CmsView {
                                        + properties.get(CMS_VIEW_UID_PROPERTY) + ") then " + uid);
                properties.put(CMS_VIEW_UID_PROPERTY, uid);
 
-               log.debug(() -> uid + ": send event to " + topic);
+               log.trace(() -> uid + ": send event to " + topic);
 
                getCmsEventBus().sendEvent(topic, properties);
-               //getCmsApp().onEvent(topic, properties);
+               // getCmsApp().onEvent(topic, properties);
        }
 
 //     public void runAs(Runnable runnable) {
@@ -68,7 +68,7 @@ public abstract class AbstractSwtCmsView implements CmsView {
                try {
                        CompletableFuture<T> result = new CompletableFuture<>();
                        Runnable toDo = () -> {
-                               log.debug(() -> uid + ": process doAs");
+                               log.trace(() -> uid + ": process doAs");
                                Subject subject = CurrentSubject.current();
                                T res;
                                if (subject != null) {