added configuration option to limit the maximum number of status lines to log