java-tutorials/logging-modules
Josh Cummings ba55cfb67d
BAEL-1338 - Programmatic Log4j2
This commit features a number of tests for programmatically configuring log4j.

Note that in order to have these tests live together, there is a slight deviation in how
these are configured vs how they are in the real world, specifically around static initialization.

Generally speaking, whenever static initialization is needed for a given configuration,
it is embedded in a @BeforeClass-annotated JUnit method.

Also, to isolate the tests from each other's plugins, annotation processing was turned off
in the build. This is not required when doing programmatic configuration of log4j. It is simply
needed for the specific use case of demonstrating these various log4j plugins all in the
same module.
2018-05-19 22:07:54 -06:00
..
log-mdc Bael 5247 (#4175) 2018-05-05 22:30:00 +02:00
log4j Bael 5249 cleanup (#4108) 2018-04-26 14:37:47 +02:00
log4j2 BAEL-1338 - Programmatic Log4j2 2018-05-19 22:07:54 -06:00
logback BAEL-1710 - A Guide to Logback (#4178) 2018-05-05 14:57:19 -07:00
README.md BAEL-1710 - A Guide to Logback (#4178) 2018-05-05 14:57:19 -07:00