get a handle for grep: 'StackTrace'

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6462 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 605e896d6c
commit 54c54fb144

@ -166,7 +166,7 @@ public final class Log {
enQueueLog(appName, Level.WARNING, message); enQueueLog(appName, Level.WARNING, message);
} }
public final static void logException(final Throwable thrown) { public final static void logException(final Throwable thrown) {
enQueueLog("", Level.WARNING, thrown.getMessage(), thrown); enQueueLog("StackTrace", Level.WARNING, thrown.getMessage(), thrown);
} }
public final static void logWarning(final String appName, final String message, final Throwable thrown) { public final static void logWarning(final String appName, final String message, final Throwable thrown) {
enQueueLog(appName, Level.WARNING, message, thrown); enQueueLog(appName, Level.WARNING, message, thrown);

Loading…
Cancel
Save