set maximum number of logs to show