Implement buffering log