add command log to file

Wonderful work!