--- title: "Changing the maximum number of log files" slug: "dpo-configure-diagnostic-logs-changing-the-maximum-number-of-log-files" updated: 2026-10-27T20:13:12Z published: 2026-10-27T20:13:12Z canonical: "docs.onespan.com/dpo-configure-diagnostic-logs-changing-the-maximum-number-of-log-files" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Changing the maximum number of log files By default, a maximum of 30 nnl.log and 5 nnlgateway.log files are kept before being overwritten. 1. If you are configuring nnl.log, search log4j2-nnl.xml for the RollingFile element pertaining to it. Otherwise, skip this step. ```plaintext ```