logging and latency reduction