ramanathan1504 commented on code in PR #4467:
URL: https://github.com/apache/logging-log4j2/pull/4467#discussion_r4516543642
##########
log4j-core/src/main/java/org/apache/logging/log4j/core/async/RingBufferLogEventTranslator.java:
##########
@@ -56,7 +56,7 @@ public class RingBufferLogEventTranslator implements
EventTranslator<RingBufferL
private String spanId;
private String traceFlags;
- // Due to the usage pattern of this class, these are effectively final
+ // Refreshed by `updateThreadValues()`, since the thread name and priority
can change
Review Comment:
The Javadoc of `updateThreadValues()` already says why these change. Can we
drop this comment?
```suggestion
```
##########
src/changelog/.2.x.x/4467_undeprecate_update_thread_values.xml:
##########
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns="https://logging.apache.org/xml/ns"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ https://logging.apache.org/xml/ns
+ https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
+ type="changed">
+ <issue id="4467"
link="https://github.com/apache/logging-log4j2/pull/4467"/>
+ <description format="asciidoc">
+ Remove the deprecation of
`RingBufferLogEventTranslator.updateThreadValues()`.
Review Comment:
Can we use this shorter line?
```suggestion
Undeprecate `RingBufferLogEventTranslator.updateThreadValues()`.
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]