Test number of lines logged.