fix(core): Ensure logs past MAX_LOG_BUFFER_SIZE are not swallowed
#18207
+8
−3
MAX_LOG_BUFFER_SIZE are not swallowed
#18207