Data logging performance improvements