make number of log lines configurable