Improving logger performance.