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

https://issues.jboss.org/browse/WFLY-1242
This write() method just appends to the buffer, the other write() method looks for newline characters, and flushes the buffer each time one is found.