add logs for io
consolidate some logs in re
add log