linelog best practice