Log command when running it