Merge "Make async logging buffer size configurable." into stable-2.4