The App-V client logs information to both the Windows
Event log and to a local log file. Both
of these logging options can be adjusted to change the type of information that
is captured. The local file based log
can only be accessed by a local administrator of the machine or the SYSTEM
account on the machine.
File Log
The local cache is located in profiles \All Users(Public
on Vista)\Application Data\Microsoft\Application Virtualization Client\sftlog.txt. The settings for this file can be modified
using the registry at the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Configuration
Value
|
Default
|
Description
|
LogFileName
|
CSIDL_COMMON_APPDATA\Microsoft\Application
Virtualization Client\
|
Client log file. Can be modified to change the
log file location. You must restart the sftlist service after changing this
value.
|
LogMinSeverity
|
4, Informational
|
Controls which messages are written to the log. The value indicates a threshold of what is
logged – everything at and below that value is logged. For example, a value
of 0x3 (Warning) indicates that Warnings (0x3), Errors (0x2), and Critical
Errors (0x1) are logged.
Value Range: 0x0 == None, 0x1 == Critical, 0x2 == Error,
0x3 == Warning, 0x4 == Information (Default), 0x5 == Verbose
|
LogRolloverCount
|
4
|
Defines the number of backup copies that are
kept of the log file, sftlog.txt when it is reset. The valid range is 0-9999. The default is 4. A value of 0 means no copies will be kept.
|
LogMaxSize
|
256
|
Defines the size in megabytes that the log
file can reach before being reset. The
default size is 256 MB. When this size
is reached, a log reset will be forced on the next write attempt.
|
System Event Log Level
The system event logging level can be configured using the
App-V Client Management Console by right clicking the root node and going to
properties.
Managing the event logging that will be recorded can also
be modified by using the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\Client\CurrentVersion\Configuration\
This registry
value indicates the logging level at which App-V log messages will get written
to the NT event log. The value indicates a threshold of what is logged –
everything at and below that value is logged. For example, a value of 0x3
(Warning) indicates that Warnings (0x3), Errors (0x2), and Critical Errors
(0x1) are logged.
Value
|
Default
|
Recommend Management Server
Configuration
|
SystemEventLogLevel
|
4 (Information)
|
·
0 == None
·
1 == Critical
·
2 == Error
·
3 == Warning
·
4 == Information
·
5 == Verbose
|