Added log4j2 configuration files to resources directories.
Trivial code formatting which doesn't affect functionality.