Microsoft KB Archive/931584

= Description of the logging levels for SoftGrid Virtual Application Server 3.x =

Article ID: 931584

Article Last Modified on 3/22/2007

-

APPLIES TO


 * Microsoft SoftGrid for Terminal Services
 * Microsoft SoftGrid for Windows Desktops

-



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



SUMMARY
This article describes the logging levels for SoftGrid Virtual Application Server 3.x, and it describes how to change these levels.



MORE INFORMATION
By default, the SoftGrid Virtual Application Server logging file is located in the following location:

%ProgramFiles%\Softricity\SoftGrid Server\logs

This file is called Sft-server.log.

The following logging levels are available:
 * 0: Transactions
 * 1: Fatal Errors
 * 2: Errors
 * 3: Warnings
 * 4: Informational
 * 5: Debug (Verbose)
 * 6: Trace

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.

Method 1: Change the &quot;Start Parameters&quot; setting in SoftGrid Virtual Application Server
To do this, follow these steps:
 * 1) Click Start, point to All Programs, point to Administrative Tools, and then click Services.
 * 2) Right-click SoftGrid Virtual Application Server, and then click Properties.
 * 3) Click Stop.
 * 4) In the Start parameters box, type -d.

Note  is a placeholder for the logging level that you want.
 * 1) 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.</ol>

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.

Keywords: kbexpertiseinter kbtshoot KB931584

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.