From 9b5f2ef1516cbb2890f2549e9944dc06c3bc04d5 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:43:38 +0000 Subject: [PATCH] 2003/12/29 03:47:19 darcs-hash:20040130074338-2ba56-8b056b8cbc1f2c6031391f794b540c5b3c6f4080.gz --- src/org/xwt/util/Log.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/xwt/util/Log.java b/src/org/xwt/util/Log.java index c7dfddb..bb690b2 100644 --- a/src/org/xwt/util/Log.java +++ b/src/org/xwt/util/Log.java @@ -84,6 +84,7 @@ public class Log { while (classname.length() < (logDates ? 14 : 20)) classname = " " + classname; classname = classname + (classname.trim().length() == 0 ? " " : ": "); classname = color(GRAY, true, classname); + classname = classname.replace('$', '.'); if (logDates) { Date d = new Date(); @@ -108,7 +109,7 @@ public class Log { try { String m = ""; while((s = br.readLine()) != null) m += s + "\n"; - log(o, m, level); + log(o, m.substring(0, m.length() - 1), level); } catch (IOException e) { System.err.println(color(RED, true, "Logger: exception thrown by ByteArrayInputStream -- this should not happen")); } -- 1.7.10.4