set buffer log capacity