[WFLY-1242] use JBossLogPrintWriter to output log information to jboss logging

https://issues.jboss.org/browse/WFLY-1242
As I mentioned above, 'system.out' isn't work here since JBossLogPrintWriter catch everything. We can use 'ByteArrayOutputStream' or everything can construct PrintWriter. If JCA spi use some other interface other than PrintWriter, it will remove our confuse.

James, if you really suggest we should use 'ByteArrayOutputStream', I will change the code and resend PR. Thanks!