fixed logging of output from autoprtocess