geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r535700 - in /geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console: JLineConsole.java SimpleConsole.java
Date Mon, 07 May 2007 01:01:55 GMT
Author: jdillon
Date: Sun May  6 18:01:55 2007
New Revision: 535700

URL: http://svn.apache.org/viewvc?view=rev&rev=535700
Log:
Add more debugging

Modified:
    geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java
    geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/SimpleConsole.java

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java?view=diff&rev=535700&r1=535699&r2=535700
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java
Sun May  6 18:01:55 2007
@@ -34,7 +34,7 @@
 public class JLineConsole
     implements Console
 {
-    private static final Log log = LogFactory.getLog(SimpleConsole.class);
+    private static final Log log = LogFactory.getLog(JLineConsole.class);
 
     private final IO io;
 
@@ -63,7 +63,11 @@
 
     public String readLine(final String prompt) throws IOException {
         assert prompt != null;
-
+        
+        if (log.isDebugEnabled()) {
+            log.debug("Reading line, w/prompt: " + prompt);
+        }
+        
         return reader.readLine(prompt);
     }
 

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/SimpleConsole.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/SimpleConsole.java?view=diff&rev=535700&r1=535699&r2=535700
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/SimpleConsole.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/SimpleConsole.java
Sun May  6 18:01:55 2007
@@ -51,7 +51,11 @@
 
     public String readLine(final String prompt) throws IOException {
         assert prompt != null;
-
+        
+        if (log.isDebugEnabled()) {
+            log.debug("Reading line, w/prompt: " + prompt);
+        }
+        
         io.out.print(prompt);
         io.out.flush();
 



Mime
View raw message