log thread id and more debug msgs