Add log statement for when command is executed