add file logger buffer feature