logger optimizations