Log the inputs to the machine
Working on better logging