restore logging