add command log.