Make number of log lines configurable