Advice on logging in IO classes