added log4j2 deps to pom

Signed-off-by: Mauro Scomparin <scompo@gmail.com>
added log4j2.xml test

Signed-off-by: Mauro Scomparin <scompo@gmail.com>
extract constants

Signed-off-by: Mauro Scomparin <scompo@gmail.com>