Add log-type option and list-log-types option.