log tuning