This article has been archived. It is offered "as is" and will no longer be updated.
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
This article describes the logging levels for SoftGrid Virtual Application Server 3.x, and it describes how to change these levels.
By default, the SoftGrid Virtual Application Server logging file is located in the following location:
This file is called Sft-server.log.
The following logging levels are available:
1: Fatal Errors
5: Debug (Verbose)
The default server logging level is 3.
A higher logging level will log everything from lower logging levels. For example, a logging level of 3 will log Warnings, Errors, Fatal Errors and Transactions.
How to change the logging levels
Method 1: Change the "Start Parameters" setting in SoftGrid Virtual Application Server
To do this, follow these steps:
Click Start, point to All Programs, point to Administrative Tools, and then click Services.
Right-click SoftGrid Virtual Application Server, and then click Properties.
In the Start parameters box, type -d x.
Note x is a placeholder for the logging level that you want.
In the Properties dialog box, restart the service.
If the service is restarted from outside the Properties dialog box, or if the server is restarted, the Start parameters setting is automatically cleared. Additionally, the logging level is reset to the default.
Method 2: Set a permanent logging level in the registry
If you do not want the logging level to be reset when the service or the server are restarted, you can set a permanent logging level in the registry. To do this, follow these steps.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Click Start, click Run, type regedit in the Open box, and then click OK.
Expand the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid Server\Current Version
Create a string value next to REG_SZ that is called SOFTRICITY_SOFTGRID_LOG_LEVEL.
In the Value Data box, enter the logging level that you want.
Exit Registry Editor.
Stop and then restart the SoftGrid Virtual Application Server service.
Note The logging level that is specified in the Start parameters setting takes precedence over the logging level that is specified in the SOFTRICITY_SOFTGRID_LOG_LEVEL registry entry.
Important When you set the logging levels to 5 or 6, the Sft-server.log file will grow large in a short time. This process can reduce server performance. Use logging levels 5 and 6 only when a support technician recommends them to diagnose specific server problems.