[refactor] change command_log view logic