[
https://issues.apache.org/jira/browse/LOG4J2-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656043#comment-16656043
]
ASF GitHub Bot commented on LOG4J2-2134:
----------------------------------------
GitHub user garydgregory opened a pull request:
https://github.com/apache/logging-log4j2/pull/221
[LOG4J2-2134] Stackoverflow at AwaitCompletionReliabilityStrategy.
Looking for feedback and if this is the right away to patch this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/garydgregory/logging-log4j2 LOG4J2-2134
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/logging-log4j2/pull/221.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #221
----
commit 3382a8ebefb5d652a2a08d4864255fa86ec23abd
Author: Gary Gregory <ggregory@...>
Date: 2018-10-18T23:45:03Z
[LOG4J2-2134] Stackoverflow at AwaitCompletionReliabilityStrategy.
----
> Stackoverflow at AwaitCompletionReliabilityStrategy
> ---------------------------------------------------
>
> Key: LOG4J2-2134
> URL: https://issues.apache.org/jira/browse/LOG4J2-2134
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.8.2, 2.9.1
> Environment: not important
> Reporter: David del Amo Mateos
> Priority: Blocker
> Attachments: Log4j2RefreshTest.java, log4j2.yml
>
>
> Hi, I have a need to change the configuration of log4j2 programatically after
> automatic configuration following the instructions at
> https://logging.apache.org/log4j/2.x/manual/customconfig.html.
> To fullfill my requirements I need to stop the context and restart it with my
> proper config, when I do this and try to write a log the
> AwaitCompletionReliabilityStrategy enters in a bucle and throws a
> Stackoverflow exception.
> I've developed a Unit test that recreates the problem.
> Edit: attached test files.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)