Added output logging to tuning experiments.