reverting logging changes