fixed log command error output, and command args in cli module