add buffering to request log writter to boost performance