add log sub-command