further optimizations for loggers