Optimized logging config