repair log, add test adapter