Clean up loglines