Enabling registry entries of logging for Statistica

Enabling registry entries of logging for Statistica

book

Article ID: KB0071448

calendar_today

Updated On:

Products Versions
Spotfire Statistica 12.7 and above

Description

This article shows how to enable logging of Statistica by setting certain registry entries. This feature is not enabled by default. Note : In order to log certain exceptions for operations performed in Enterprise Manager, you will need to launch Enterprise Manger via the Statistica tab rather than as a "standalone" application (from the Start Menu or its own shortcut in windows).

Issue/Introduction

This article details how to enable registry entries of logging for Statistica.

Environment

Windows operating system only.

Resolution

1. Search and open regedit.exe from the Start Menu.

2. Under "Registry Editor" window, navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\StatSoft\STATISTICA" when having 32 bit Statistica on 32 bit windows, or 64 bit Statistica on 64 bit windows;
Otherwise, navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\StatSoft\STATISTICA​" when having 32 bit Statistica on 64 bit windows.

3. Under Logging folder, right click any empty space in the right pane to select New|DWORD (32 bit) Value.  If Logging folder does not exist, righ click on STATISTICA folder and select New>>Key and name it Logging.

4. Right click the DWORD created at step 3 to rename it as "LogLevel".

5. Right click "LogLevel" to select  "Modify ..." and enter the Value data as: 7  and click "OK".

image.png

6. In the right pane under Logging folder, right click any empty space to select New|String Value.

7. Right click the String value created at step 6 to rename it as "LogPath".

8. Right click "LogPath" to select "Modify ..." and enter a directory where the logs can be saved. 

image.png

After the log registry entries are created, it will create a log file at the specified path every time Statistica is run. The log files will have a date/time stamp and process id in the filename. An example of registry entries is shown at below:

image.png

If tracking Memory usage, also add the DWORD key LogMemoryUsageInterval - and set it 20 (Value is in seconds) .Setting this to 0 disables logging memory usage.
   image.png
 

DISCLAIMER : TIBCO Software does not provide support for problems that arise from improper modification of the registry. The Windows registry contains information critical to your computer and applications. Make sure you back up the registry before modifying it. For more information on the Windows Registry Editor and how to back up and restore it, refer to  Microsoft Article ID 256986