tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject svn commit: r332936 - /tomcat/sandbox/java/org/apache/tomcat/util/log/JdkLoggerFormatter.java
Date Sun, 13 Nov 2005 07:26:29 GMT
Author: costin
Date: Sat Nov 12 23:26:28 2005
New Revision: 332936

URL: http://svn.apache.org/viewcvs?rev=332936&view=rev
Log:
Better layout

Modified:
    tomcat/sandbox/java/org/apache/tomcat/util/log/JdkLoggerFormatter.java

Modified: tomcat/sandbox/java/org/apache/tomcat/util/log/JdkLoggerFormatter.java
URL: http://svn.apache.org/viewcvs/tomcat/sandbox/java/org/apache/tomcat/util/log/JdkLoggerFormatter.java?rev=332936&r1=332935&r2=332936&view=diff
==============================================================================
--- tomcat/sandbox/java/org/apache/tomcat/util/log/JdkLoggerFormatter.java (original)
+++ tomcat/sandbox/java/org/apache/tomcat/util/log/JdkLoggerFormatter.java Sat Nov 12 23:26:28
2005
@@ -69,12 +69,6 @@
         // pad to 8 to make it more readable 
         for( int i=0; i<8-buf.length(); i++ ) { buf.append(" "); }
         
-        // Append the name of the log instance if so configured
-        buf.append(name);
-        
-        // pad to 20 chars 
-        for( int i=0; i<8-buf.length(); i++ ) { buf.append(" "); }
-        
         //      Append a readable representation of the log level.
         switch(level) {
          case LOG_LEVEL_TRACE: buf.append(" T "); break;
@@ -86,7 +80,13 @@
          default: buf.append("   ");
          }
          
+
+        // Append the name of the log instance if so configured
+        buf.append(name);
         
+        // pad to 20 chars 
+        for( int i=0; i<8-buf.length(); i++ ) { buf.append(" "); }
+                
         // Append the message
         buf.append(message);
         



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message