tuning logging