logging tuning