Microsoft KB Archive/931585

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Microsoft SoftGrid Client 3.x logging options

Article ID: 931585

Article Last Modified on 3/15/2007



APPLIES TO

  • Microsoft SoftGrid for Terminal Services
  • Microsoft SoftGrid for Windows Desktops



INTRODUCTION

This article discusses Microsoft SoftGrid Client 3.x logging Options.

MORE INFORMATION

By default, the SoftGrid Client log file (Sftlog.txt) is located in the "%ProgramFiles%\Softricity\SoftGrid for Windows Desktops" folder for Windows Desktops and in the "%ProgramFiles%\Softricity\SoftGrid for Terminal Servers" folder for Terminal Servers.

The following log levels are available:

Transactions (0)
Fatal Errors (1)
Errors (2)
Warnings (3)
Informational (4)
Verbose (5)
Debug (6)


By default, the client log level is 3. A higher log level will log everything from the lower log levels. For example, a log level of 3 will log Warnings (3), Errors (2), Fatal Errors (1), and Transactions (0).

In SoftGrid Client version 3.2.x and in later versions, the following command-line options can be used to change and to reset the SoftGrid Client log file without restarting the SoftGrid Client service.

Command Description
sftlist.exe /verboselog Sets the log level to Verbose.
sftlist.exe /infolog Sets the log level to Informational.
sftlist.exe /warninglog Sets the log level to Warnings (default).
sftlist.exe /resetlog Moves the current log to the SftlogXXXX.txt file and creates a new log.

In SoftGrid Client version 3.1.x, the following command-line options can be used to change and to reset the SoftGrid Client log file without restarting the SoftGrid Client service.

Command Description
sftlist.exe /verboselog Sets the log level to Verbose.
sftlist.exe /warninglog Sets the log level to Warnings (default).
sftlist.exe /resetlog Moves the current log to the SftlogXXXX.txt file and creates a new log.

In SoftGrid Client version 3.0.x, an add-in utility was used to change and to reset the SoftGrid Client log file without restarting the SoftGrid Client service. However, this utility is no longer available for distribution.

For all 3.x versions of the SoftGrid Client, follow these steps to change the log level:

  1. Start Registry Editor.
  2. Locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid Client\Current Version\Configuration

  3. Right-click the LogMinSeverity registry entry.
  4. Type the desired log level value in the Value Data box.
  5. Exit Registry Editor.
  6. Stop and then start the SoftGrid Client service.

Warning Log levels 5 and 6 will cause the Dftlog.txt file to grow fairly large over a short time. This behavior may decrease client performance.

Keywords: kbtshoot kbexpertiseinter KB931585