1. Add the dependencies (see pom.xml file)
  2. Add the configuration file. It can be and xml, yml or log4j2.properties. Be carefeful to name it like this and place it under resources folder (so that can be found from maven)
  3. configure the configuration file. You can copy and paste this from this sample project. Only change "logger.app.name=org.example".