Good day!

I did everything exactly as described in this manual:

Connected: log4j-api-2.0-beta1.jar

The xml file is listed in the default package and named log4j2.xml.

When run in the LogManager.getLogger method (TestService.class.getName ()); NullPointerException is thrown.

I just can not understand what it is connected with.

    1 answer 1

    Understood. It was necessary to just connect another log4j-core-2.0-beta1.jar