logging for tuning