a36418c0d0fa0d452546f12e20171daaa518ee25

In rare but possible case when an AsyncAppender-Dispatcher thread tries to discard queued logging events, it throws a NPE and the thread dies. Soon after that, as the async logging queue gets full the threads start blocking on the queue when they try to log something. The NPE was caused by passing null for the logger parameter of LoggingEvent instances created by SshLog and HttpLog. To fix the issue we simply pass the already existing logger instance to the constructor of LoggingEvent. Change-Id: If213a63a80895483b0a32dd4a172cb6ac464ecf7 Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
Description
RETIRED, Gerrit as used by OpenStack