Skip to content

Conversation

@upthewaterspout
Copy link
Contributor

This element causes log4j to scan all geode jars on startup. This slows down
the startup time of all geode processes, including gfsh.

It is not necessary because log4j has an annotation processor to generate a
config file that helps it find plugs that it needs.

This element causes log4j to scan all geode jars on startup. This slows down
the startup time of all geode processes, including gfsh.

It is not necessary because log4j has an annotation processor to generate a
config file that helps it find plugs that it needs.
Copy link
Contributor

@jdeppe-pivotal jdeppe-pivotal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! I see a 6x speedup in test starts now.

Copy link
Contributor

@karensmolermiller karensmolermiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs change looks good to me. I haven't looked at the code/test changes.

Fixing a suspect string from RestartOfMemberDistributedTest. This test is
crashing the distributed system, so it is expected to see AlertAppender errors.
We suspect the log4j changes affected  the timing of the test. The fact that we
are seeing AlertAppender errors indicates that log4j is definitely finding our
log4j plugins!

Removing a packages element from the log4j2.xml file checked into the
membership module.
Copy link
Contributor

@bschuchardt bschuchardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the premise is correct I don't have a problem with the changes to the membership test or log4j configuration.

@upthewaterspout upthewaterspout merged commit d058f0d into apache:develop Feb 2, 2021
@upthewaterspout upthewaterspout deleted the feature/GEODE-8875 branch February 2, 2021 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants