5.7

Table Of Contents
Enable Logging for Widgets
You can enable logging for widgets by editing the log4.properties file.
Procedure
1 Open the log4.properties file.
For vCenter Operations Manager Standalone, log4.properties is in the
vcenter_ops
\user\conf directory.
For the vCenter Operations Manager vApp, it is in the
vcenter-ops
\user\conf\web directory.
2 Add the following line after the line log4j.rootLogger=ERROR.
log4j.logger.com.integrien.alive.ui=debug
3 Save your changes and close the log4.properties file.
View System Log Files in vCenter Operations Manager
Viewing log files in vCenter Operations Manager is similar to opening the log files in an external text viewer.
Prerequisites
By default, vCenter Operations Manager does not create log files for widgets. To view log files for widgets in
vCenter Operations Manager, enable logging for widgets. See “Enable Logging for Widgets,” on page 108.
Procedure
n
To list all viewable log files, select Admin > Support and click the Logs tab.
The log type folders appear in the Logs pane.
n
To view the log files in a folder, double-click the folder.
n
To view the contents of a log file, double-click the log file.
The contents of the log file appear in the Log Content pane.
n
To view a specific part of a log file, type line numbers in the Line Positionand Row Limit text boxes.
The line position value determines the starting line and the row limit value determines the maximum lines
to show in the Log Content pane.
n
To delete a log file, select the file and click the Delete Selected File icon.
n
If the data source for any of your resources changes, click the Recalculate Data Source icon.
vCenter Operations Manager recalculates the data sources for all resources.
n
To reload the log tree information and collapse all open log type folders, click the Reload Tree icon.
What to do next
You can use an external log file monitoring tool to search for significant messages in
vCenter Operations Manager log files. See “Using an External Log Monitoring Tool,” on page 109.
VMware vCenter Operations Manager Administration Guide
108 VMware, Inc.