From: <jef...@us...> - 2002-10-26 11:49:54
|
Update of /cvsroot/aft/Anteater/src/org/apache/anteater/test/log In directory usw-pr-cvs1:/tmp/cvs-serv17313/src/org/apache/anteater/test/log Modified Files: ColourLogger.java Log Message: Make error logs more informative and less repetititious Index: ColourLogger.java =================================================================== RCS file: /cvsroot/aft/Anteater/src/org/apache/anteater/test/log/ColourLogger.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ColourLogger.java 11 Aug 2002 16:04:06 -0000 1.1 +++ ColourLogger.java 26 Oct 2002 11:49:50 -0000 1.2 @@ -83,7 +83,6 @@ final StringBuffer msgBuf = new StringBuffer("\tError: "+msg); msgBuf.append(System.getProperty("line.separator")); msgBuf.append(StringUtils.getStackTrace(e)); - msgBuf.insert(0, errColour); msgBuf.append(END_COLOUR); println(msgBuf.toString()); @@ -105,7 +104,6 @@ final StringBuffer msgBuf = new StringBuffer("\t\tError: "+msg); msgBuf.append(System.getProperty("line.separator")); msgBuf.append("\t\t"+StringUtils.getStackTrace(e)); - msgBuf.insert(0, errColour); msgBuf.append(END_COLOUR); println(msgBuf.toString()); |