It appears Wildfly 10 only supports the log4j.xml format, as I don't see log4j2.xml in the list. I'd also recommend using log4j as a META-INF\MANIFEST.MF dependency, since Wildfly already has a logging framework, there's no reason for your app to carry around one, too.
Per-deployment logging allows you to add a logging configuration file to your deployment and have the logging for that deployment configured according to the configuration file. In an EAR the configuration should be in the META-INF directory. In a WAR or JAR deployment the configuration file can be in either the META-INF or WEB-INF/classes directories.
The following configuration files are allowed: