henryptung opened a new pull request #434:
URL: https://github.com/apache/logging-log4j2/pull/434
Make sure the returned Cancellable handler contains a strong
reference to the callback, so that it is not garbage-collected
prematurely. Add Javadoc note about collection semantics.
[
https://issues.apache.org/jira/browse/LOG4J2-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carter Kozak updated LOG4J2-2954:
-
Affects Version/s: 2.13.3
> Shutdown callbacks registered in LoggerContext.setUpShutdownHook() a
[
https://issues.apache.org/jira/browse/LOG4J2-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carter Kozak updated LOG4J2-2954:
-
Component/s: Core
> Shutdown callbacks registered in LoggerContext.setUpShutdownHook() aren't
>
[
https://issues.apache.org/jira/browse/LOG4J2-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223348#comment-17223348
]
Carter Kozak commented on LOG4J2-2954:
--
Great find, this does look incorrect. I thi
[
https://issues.apache.org/jira/browse/LOG4J2-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carter Kozak reassigned LOG4J2-2954:
Assignee: Carter Kozak
> Shutdown callbacks registered in LoggerContext.setUpShutdownHook
[
https://issues.apache.org/jira/browse/LOG4J2-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henry Tung updated LOG4J2-2954:
---
Description:
LoggerContext.setUpShutdownHook() passes a callback to the
DefaultShutdownCallbackRegi
rocketraman commented on pull request #12:
URL:
https://github.com/apache/logging-log4j-kotlin/pull/12#issuecomment-719040833
@jvz poke
This is an automated message from the Apache Git Service.
To respond to the message, ple
Henry Tung created LOG4J2-2954:
--
Summary: Shutdown callbacks registered in
LoggerContext.setUpShutdownHook() aren't strongly referenced
Key: LOG4J2-2954
URL: https://issues.apache.org/jira/browse/LOG4J2-2954