print cmd arguments to log