6.1

Table Of Contents
Configuring Logging in View Agent Using the A Option
You can use the vdmadmin command with the -A option to configure logging by View Agent.
Syntax
vdmadmin -A [-b authentication_arguments] -getDCT-outfile local_file -d desktop -m machine
vdmadmin -A [-b authentication_arguments] -getlogfile logfile -outfile local_file -d desktop -m
machine
vdmadmin -A [-b authentication_arguments] -getloglevel [-xml] -d desktop [-m machine]
vdmadmin -A [-b authentication_arguments] -getstatus [-xml] -d desktop [-m machine]
vdmadmin -A [-b authentication_arguments] -getversion [-xml] -d desktop [-m machine]
vdmadmin -A [-b authentication_arguments] -list [-xml] [-w | -n] -d desktop -m machine
vdmadmin -A [-b authentication_arguments] -setloglevel level -d desktop [-m machine]
Usage Notes
To assist VMware Technical Support in troubleshooting a View Agent, you can create a Data Collection Tool
(DCT) bundle. You can also change the logging level, display the version and status of View Agent, and
save individual log files to your local disk.
Options
Table 13-3 shows the options that you can specify to configure logging in View Agent.
Table 133. Options for Configuring Logging in View Agent
Option Description
-d desktop
Specifies the desktop pool.
-getDCT
Creates a Data Collection Tool (DCT) bundle and saves it to
a local file.
-getlogfile logfile
Specifies the name of the log file to save a copy of.
-getloglevel
Displays the current logging level of View Agent.
-getstatus
Displays the status of View Agent.
-getversion
Displays the version of View Agent.
-list
List the log files for View Agent.
-m machine
Specifies the machine within a desktop pool.
-outfile local_file
Specifies the name of the local file in which to save a DCT
bundle or a copy of a log file.
-setloglevel level
Sets the logging level of View Agent.
debug
Logs error, warning, and debugging
events.
normal
Logs error and warning events.
trace
Logs error, warning, informational, and
debugging events.
Chapter 13 Using the vdmadmin Command
VMware, Inc. 201