fixed an oversight where threads were not being attached to the JVM
ported the log adapter fix over from 1.1.x series