Making changes to logging handlers