[Fix] Add new line in DefaultLockHandler when logging locking

This commit is contained in:
Robert von Burg 2019-07-03 19:34:44 +02:00
parent 8ff7e83a90
commit acc2cd2fc0
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ public class DefaultLockHandler implements LockHandler {
StringBuilder sb = new StringBuilder();
for (StackTraceElement traceElement : trace)
sb.append("\n\tat ").append(traceElement);
logger.error(thread.getName() + "\n" + sb.toString());
logger.error(thread.getName() + "\n" + sb.toString() + "\n");
}
} catch (Exception e) {
logger.error("Failed to log active threads: " + e.getMessage(), e);