Use command-log mode.