remove log queue size in middleware