When logging stack traces, don't log the message separately and then have

the exception repeat it, just start logging the exception on the first log
line. It's compact and it allows lgrep to properly filter out whole stack
traces.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1485 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2004-08-13 21:24:28 +00:00
parent 6a8f69cb12
commit f14d5d05c8
@@ -78,7 +78,7 @@ public class DefaultLogProvider implements LogProvider
{
Integer tlevel = (Integer)_levels.get(moduleName);
if (level >= getLevel(moduleName)) {
System.err.println(formatEntry(moduleName, level, t.getMessage()));
System.err.print(formatEntry(moduleName, level, ""));
t.printStackTrace(System.err);
}
}