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/02/09 20:55:06 UTC

[GitHub] [logging-log4j2] ppkarwasz commented on issue #1273: ReusableMessages not getting released when using entry/exit logging

ppkarwasz commented on issue #1273:
URL: https://github.com/apache/logging-log4j2/issues/1273#issuecomment-1424826536

   @davemessink, very nice catch! Can you submit a PR to fix it?
   
   I believe that calling `ReusableMessage#memento()` should release the `ReusableMessage`. This needs to be documented in the Javadoc and might be a compatibility break.
   
   Your report is also important for  #1194: it means that all our recyclable objects (both `LogBuilder` and `ReusableMessage`) must be aware of the recycling lifecycle.


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