Interviewer - Server > Administration and maintenance > Log files > Changing the number and/or size of the log files
 
Changing the number and/or size of the log files
All UNICOM Intelligence Interviewer activities record what they do, and any problems that arise, 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, the activity 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 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 would expect and contain lots of very detailed messages, turning off trace logging reduces file size and the frequency with 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\mrInterview\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 In the right-hand frame, right-click the key you want to change, and then click Modify.
5 In the Edit DWORD Value dialog box, enter the new value.
6 Close the Registry Editor.
See also
Log files