Repository: logging-log4j2 Updated Branches: refs/heads/master 6977c0a57 -> 6f0e2e904
[LOG4J2-2336] Fix duplicate hyphen in AsyncLoggerConfig disruptor thread name Fixed thread name: Log4j2-TF-38-AsyncLoggerConfig-2 Previous behavior: Log4j2-TF-38-AsyncLoggerConfig--2 Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/6f0e2e90 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/6f0e2e90 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/6f0e2e90 Branch: refs/heads/master Commit: 6f0e2e904efa6eff533f969baf6293c70ff96cee Parents: 6977c0a Author: Carter Kozak <cko...@apache.org> Authored: Fri May 4 16:05:04 2018 -0400 Committer: Carter Kozak <cko...@apache.org> Committed: Mon May 7 09:05:43 2018 -0400 ---------------------------------------------------------------------- .../logging/log4j/core/async/AsyncLoggerConfigDisruptor.java | 2 +- src/changes/changes.xml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6f0e2e90/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLoggerConfigDisruptor.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLoggerConfigDisruptor.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLoggerConfigDisruptor.java index 3f6a91e..b29dda3 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLoggerConfigDisruptor.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLoggerConfigDisruptor.java @@ -214,7 +214,7 @@ public class AsyncLoggerConfigDisruptor extends AbstractLifeCycle implements Asy ringBufferSize = DisruptorUtil.calculateRingBufferSize("AsyncLoggerConfig.RingBufferSize"); final WaitStrategy waitStrategy = DisruptorUtil.createWaitStrategy("AsyncLoggerConfig.WaitStrategy"); - final ThreadFactory threadFactory = new Log4jThreadFactory("AsyncLoggerConfig-", true, Thread.NORM_PRIORITY) { + final ThreadFactory threadFactory = new Log4jThreadFactory("AsyncLoggerConfig", true, Thread.NORM_PRIORITY) { @Override public Thread newThread(final Runnable r) { final Thread result = super.newThread(r); http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6f0e2e90/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 77537c6..858bbb8 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -174,6 +174,9 @@ <action issue="LOG4J2-2334" dev="ggregory" type="fix"> Add API org.apache.logging.log4j.core.appender.AsyncAppender.getQueueSize(). </action> + <action issue="LOG4J2-2336" dev="ckozak" type="fix"> + Remove duplicate hypen from the AsyncLoggerConfig background thread name. + </action> </release> <release version="2.11.1" date="2018-MM-DD" description="GA Release 2.11.1"> <action issue="LOG4J2-2268" dev="rgoers" type="fix" due-to="Tilman Hausherr"> @@ -241,6 +244,9 @@ <action issue="LOG4J2-2334" dev="ggregory" type="fix"> Add API org.apache.logging.log4j.core.appender.AsyncAppender.getQueueSize(). </action> + <action issue="LOG4J2-2336" dev="ckozak" type="fix"> + Remove duplicate hypen from the AsyncLoggerConfig background thread name. + </action> </release> <release version="2.11.0" date="2018-xx-xx" description="GA Release 2.11.0"> <action issue="LOG4J2-2104" dev="rgoers" type="fix">