Store logs in capped collection