set log lines to 1000 by default, with settings.LOG_LINES available for customization