Removes old logging statements