try {
String m = "";
while((s = br.readLine()) != null) m += s + "\n";
- log(o, m.substring(0, m.length() - 1), level);
+ if (m.length() > 0) log(o, m.substring(0, m.length() - 1), level);
} catch (IOException e) {
logstream.println(colorize(RED, true, "Logger: exception thrown by ByteArrayInputStream -- this should not happen"));
}