log chunk generation