Set logging level to trace and add more debug to multithread tests