add set logging on and record history command