Installing Server > Installing UNICOM Intelligence Interviewer - Server > Post-installation tasks for UNICOM Intelligence Interviewer - Server > Optional tasks > Changing the number and size of the log files
 
Changing the number and size of the log files
UNICOM Intelligence Interviewer - Server records the actions that it takes during each interview, and any problems it encounters, in a series of log files. When a log file reaches 20Mb in size, the activity closes that file and starts a new one. When the 50th file reaches its maximum size, UNICOM Intelligence Interviewer - Server starts overwriting the first log file in the set.
Depending on the amount of logging information you want to retain, you can increase the number of log files that UNICOM Intelligence Interviewer - Server creates before it starts overwriting existing files, or you can increase the maximum size of each file. In general, it is better to increase the number of log files used rather than the size. Log files that will be opened in DM Query should not be larger than 20Mb (because the LogDSC does not work with files that are larger than 20Mb).
Log files can grow very quickly if trace logging is switched on. If the log files are growing faster than you expect, and then contain lots of very detailed messages, you can turn off trace logging; this reduces file size and the frequency at which files are recycled. See Switching trace logging on and off.
The MaxFiles and MaxFileSizeInKB keys that control logging behavior are defined in the following locations in the registry:
HKEY_LOCAL_MACHINE\Software\SPSS\DimensionNet\Log
HKEY_LOCAL_MACHINE\Software\SPSS\DimensionNet\3\Log
HKEY_LOCAL_MACHINE\Software\SPSS\MRPropertyManagement\2.0\Log
HKEY_LOCAL_MACHINE\Software\SPSS\MRPropertyManagement\2.0\Security\Auditing
Any changes you make must be made in all locations since you cannot be sure which application will start the logging component. For consistency, they should also be made on all computers running the Interviewing and Accessories Services.
To change the maximum number of log files and/or the maximum log file size
1 From the Windows Start menu, choose Run.
2 In the Run dialog box, type regedit, and then click OK.
3 Navigate to the appropriate location.
4 Right-click the key that you want to change, and then click Modify.
5 In the Edit DWORD Value dialog box, specify the new value.
6 Close the Registry Editor.
See
Optional tasks