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

https://issues.jboss.org/browse/WFLY-1242
OK. I will resend the PR. Thanks James!