Record log of histogram program