I'm using Wildfly 9 and I want to have a separate log file for my application. I also want to use Wildfly Administation Console's Log viewer to view this log file. It also would be great if each node's apllication logs will be available from Wildfly domain controller, like it's realized for server.log.
It's easy to make such setup using Admin Console (create new log handlers, categories and so on), but it would be great if I could avoid making this configuration each time I'm deploying my application to a new server.
So, is it possible to distribute these AS configuration changes along with my application and apply them on-the-fly during deployment?
I'm aware of Wildfly per-deployment logging, but it looks like log files, defined in custom log4j config file won't be available in Wildfly Admin Console.