You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/08/30 15:28:31 UTC

[myfaces-tobago] 01/02: Logging in demo

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 402c241e8a7b2fa326a6507551c388c874c54e95
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Aug 30 17:19:37 2018 +0200

    Logging in demo
---
 .../org/apache/myfaces/tobago/example/demo/PartialReloadController.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/PartialReloadController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/PartialReloadController.java
index 0412ac7..cf19e1c 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/PartialReloadController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/PartialReloadController.java
@@ -64,6 +64,7 @@ public class PartialReloadController {
   }
 
   private String waitAndReload(final long delay) {
+    LOG.info("I'm waiting now for {} ms.", delay);
     synchronized (this) {
       try {
         wait(delay);
@@ -71,6 +72,7 @@ public class PartialReloadController {
         //
       }
     }
+    LOG.info("My waiting for {} ms is done.", delay);
     return logAndNavigate(null);
   }