ref(logs): use RingBuffer for logs when not using log_flush_threshold
#2058
+216
−10
log_flush_threshold
#2058