LogGenImpl to handle log generation