added thread toString() output to the tracing message for a long-waiting Future.get() call

Change-Id: I1ec555dc79cd2d2f7fc29b9e365c742bc8b0ee5d
This commit is contained in:
Axel Uhl committed 2016-09-30 11:28:10 +02:00
1 parent 311f670b27
commit da6b639c0c
1 file changed
+1 -1
@@ -27,7 +27,7 @@ public abstract class HasTracingGetImpl<V> implements HasTracingGet<V> {
try {
return future.get(MILLIS_AFTER_WHICH_TO_TRACE_NON_RETURNING_GET, TimeUnit.MILLISECONDS);
} catch (TimeoutException e) {
logger.log(Level.INFO, "Timeout waiting for future task "+future+
logger.log(Level.INFO, ""+Thread.currentThread()+": Timeout waiting for future task "+future+
" (retrying); "+ getAdditionalTraceInfo(), e);
}
}