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

jbonofre pushed a commit to branch karaf-4.0.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.0.x by this push:
     new 9bbfbff  [KARAF-5484] Change shell:sleep message to debug instead of 
info
9bbfbff is described below

commit 9bbfbffab528c2f9b7ba53ad721e3ba0b61abbf6
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Wed Nov 15 16:54:55 2017 +0100

    [KARAF-5484] Change shell:sleep message to debug instead of info
---
 .../main/java/org/apache/karaf/shell/commands/impl/SleepAction.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/shell/commands/src/main/java/org/apache/karaf/shell/commands/impl/SleepAction.java
 
b/shell/commands/src/main/java/org/apache/karaf/shell/commands/impl/SleepAction.java
index e8b1103..b0185a4 100644
--- 
a/shell/commands/src/main/java/org/apache/karaf/shell/commands/impl/SleepAction.java
+++ 
b/shell/commands/src/main/java/org/apache/karaf/shell/commands/impl/SleepAction.java
@@ -39,10 +39,10 @@ public class SleepAction implements Action {
     @Override
     public Object execute() throws Exception {
         if (second) {
-            log.info("Sleeping for {} second(s)", time);
+            log.debug("Sleeping for {} second(s)", time);
             time = time * 1000;
         } else {
-            log.info("Sleeping for {} millisecond(s)", time);
+            log.debug("Sleeping for {} millisecond(s)", time);
         }
 
         try {
@@ -52,7 +52,7 @@ public class SleepAction implements Action {
             log.debug("Sleep was interrupted... :-(");
         }
 
-        log.info("Awake now");
+        log.debug("Awake now");
         return null;
     }
 }

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to