add support for log command