Add command-log-mode.