Gary Gregory created LOG4J2-1556: ------------------------------------ Summary: Custom Log4j threads should extend Log4jThread Key: LOG4J2-1556 URL: https://issues.apache.org/jira/browse/LOG4J2-1556 Project: Log4j 2 Issue Type: Improvement Components: Core, Flume Appender Reporter: Gary Gregory Assignee: Gary Gregory Fix For: 2.7
Custom Log4j threads should extend {{org.apache.logging.log4j.core.util.Log4jThread}} instead of {{java.lang.Thread}} to allow {{Log4jThread}} to prefix thread names with {{"Log4j2-"}}, thus making Log4j threads easier to identify in thread dumps and debuggers. This patch applies to: - org.apache.logging.log4j.core.appender.AsyncAppender.AsyncThread - org.apache.logging.log4j.flume.appender.FlumePersistentManager.WriterThread - org.apache.logging.log4j.core.net.TcpSocketManager.Reconnector - org.apache.logging.log4j.core.net.server.TcpSocketServer.SocketHandler -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org