set up the linelog mod to create a CSV log