You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ppkarwasz (via GitHub)" <gi...@apache.org> on 2023/09/19 10:47:01 UTC

[PR] ReusableMessageFactory: change static fields to instance fields (logging-log4j2)

ppkarwasz opened a new pull request, #1800:
URL: https://github.com/apache/logging-log4j2/pull/1800

   There is no reason for `ReusableMessageFactory` to have static `ThreadLocal` fields.
   
   Besides this breaks (parallel) tests since multiple instances of `ReusableMessageFactory` are not independent.
   
   Since this PR only modifies `private` fields, it can be backported to `2.x`. It is part of #1778.


-- 
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


Re: [PR] ReusableMessageFactory: change static fields to instance fields (logging-log4j2)

Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz merged PR #1800:
URL: https://github.com/apache/logging-log4j2/pull/1800


-- 
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