You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/02/23 13:12:46 UTC
[GitHub] [logging-log4j2] garydgregory commented on a change in pull request #770: Initial support for detached markers in SLF4J binding
garydgregory commented on a change in pull request #770:
URL: https://github.com/apache/logging-log4j2/pull/770#discussion_r812876417
##########
File path: log4j-slf4j-impl/src/main/java/org/apache/logging/slf4j/Log4jMarkerFactory.java
##########
@@ -36,9 +38,11 @@
private static final Logger LOGGER = StatusLogger.getLogger();
private final ConcurrentMap<String, Marker> markerMap = new ConcurrentHashMap<>();
+ private final Set<String> detachedMarkers = new CopyOnWriteArraySet<>();
Review comment:
Doesn't tracking the markers defeat the purpose of them being "detached"?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org