Files
gerrit/java
Edwin Kempin b3369b566a Log warning when LoggingContext of background thread is not initially empty
When we execute work in a background thread we copy the logging context
to it and unset it before we return it to the thread pool. If we get a
thread from the pool that has a non-empty logging context this is
unexpected and we want to know about it.

Also add a clear() method to LoggingContext to make unsetting the
logging context easier.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ic40ce525f5f4508fe4eb56d78a704256a98b8e0c
2019-06-13 13:00:00 +02:00
..
2019-05-08 07:33:21 -07:00