1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/logging/ColorfulConsoleFormatter.java Mon Sep 29 10:34:54 2014 +0200
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/logging/ColorfulConsoleFormatter.java Sat Dec 06 14:12:59 2014 +0100
1.3 @@ -71,7 +71,11 @@
1.4 String message = t.getLocalizedMessage();
1.5 if (message != null) {
1.6 out.print(": ");
1.7 - out.print(message);
1.8 + if (printStacktrace) {
1.9 + out.print(message);
1.10 + } else {
1.11 + out.print(message.replaceAll("\\n", " "));
1.12 + }
1.13 }
1.14 if (printStacktrace) {
1.15 out.println();