use seperate buffers for logging