[WFLY-2514] Use a better search and use the correct directory for the logging configuration file for domain servers

When using ```<server directory-grouping="by-type">``` the incorrect logging configuration file was being used. This PR changes to use the correct directory. Also it updates which configuration should be used by default.

https://issues.jboss.org/browse/WFLY-2514