Can I change the size of the network services debug log file?

Article ID: 353
Category: Network Services
Applies to: 3.3.1.84 and higher
Updated: 2018-11-07

Starting with version 3.3.1.84, the maximum size of the debug log file located in %SYSTEMROOT%\system32\eventsentry\logs can be adjusted with the debuglevel_ns_max_size registry value. This DWORD value specifies the maximum size of each debug log file in megabytes, consequently the total disk space used will be twice the size of the registry value.

The default size for each debug log file is 50 Mb. To adjust the maximum size of the debug log file, do the following:

  1. Open regedit.exe on the host where the size needs to be adjusted, or connect to the remote host with regedit.exe
  2. Navigate to "HKLM\Software\Wow6432Node\netikus.net\EventSentry" (or "HKLM\Software\netikus.net\EventSentry" on 32-bit systems)
  3. Add a new DWORD registry value called debuglevel_ns_max_size with the desired size in megabytes.
  4. Restart the "EventSentry Network Services" service for the change to become effective.

For example, if debuglevel_ns_max_size is set to 100, the debug log file(s) will consume a maximum disk space of 200 Mb.