Use InitialLoggerContext test rule.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595717 13f79535-47bb-0310-9956-ffa450edef68
This test can use the rule instead of LogManager.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595719 13f79535-47bb-0310-9956-ffa450edef68
Refactor test to use InitialLoggerContext rule.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595720 13f79535-47bb-0310-9956-ffa450edef68
Mark these modules as explicitly not test-forkable.

  - Will be looking into the specific tests that prevent using forked testing. Should be able to put them in a JUnit category to run separately from the others.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595721 13f79535-47bb-0310-9956-ffa450edef68
Make tests forkable by default.

  - Tested with all modules, only log4j-core and log4j-taglib fail with this setting, so those have been specified in prior revision.
  - Helps speed up the build a bit, thanks Remko!

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595722 13f79535-47bb-0310-9956-ffa450edef68
Add javadocs and getRequiredAppender method.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595724 13f79535-47bb-0310-9956-ffa450edef68
Refactor test to use InitialLoggerContext rule.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595725 13f79535-47bb-0310-9956-ffa450edef68
Refactor test to use InitialLoggerContext rule.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595726 13f79535-47bb-0310-9956-ffa450edef68
Remove unnecessary synchronization in static initializer.

  - JLS says that the static initialization block is implicitly contained in a synchronized block using the class as the lock object.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1595727 13f79535-47bb-0310-9956-ffa450edef68