Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

Products and Accounts

Support

Knowledge

Communities

Success

Learning

My Subscriptions

Loading

Knowledge Base

Enabling trivia logging in VMware vCenter Server (1001584)

Last Updated: 3/10/2017Categories: How toTotal Views: 76360Language:
Chinese (Simplified)JapaneseEnglish

2 like this article

Subscribe to get an email
newsletter with new updates

2 people found this helpful Please provide article feedback:

Details

When troubleshooting VMware vCenter Server issues, it may be helpful to enable trivia logging in vCenter Server. These logs contain the most verbiage possible, assisting in understanding underlying issues.

For more information, see:

Increasing vCenter Server and ESX/ESXi logging levels (1004795)

Uploading diagnostic information for VMware (1008525)

Solution

Caution: Enabling trivia or verbose logging for a longer duration might cause performance degradation on vCenter Server. Only enable trivia or verbose logging for troubleshooting purposes. VMware recommends to revert to default login (info level) immediately after the troubleshooting is complete. VMware does not recommend trivia/verbose logging to be enabled in a production environment. Perform the steps in this article only after consulting VMware technical support.

Enabling trivia level logging is normally done by clicking:

Administration > VirtualCenter Management Server Configuration > Logging Options > Trivia for VirtualCenter 2.x

Administration > vCenter Server Settings > Logging Options > Trivia for vCenter Server 4.x/5.x

vCenter Server > Manage > Settings > General > Logging settings > Trivia for vCenter server 6.0

vCenter Server > Configure > Settings > General > Logging settings > Trivia for vCenter server 6.5

However, if the VMware VirtualCenter Server service does not start, you have to enable trivia logging manually.

Logging levels, location, and other logging features are set in the vpxd.cfg configuration file. The vpxd.cfg is located by default at %ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter\vpxd.cfg.

Notes:

In vCenter Server Appliance 5.x and 6.x, the vpxd.cfg file is located at /etc/vmware-vpx/.

In Windows Server 2008, the vpxd.cfg configuration file is located at C:\ProgramData\VMware\VMware VirtualCenter\vpxd.cfg.

In vCenter Server 6.0, vpxd.cfg file is located at C:\ProgramData\VMware\vCenterServer\cfg\vmware-vpx.

To manually enable trivia logging:

Important: Enabling trivia or verbose logging for a long duration might cause performance degradation on vCenter Server. Only enable trivia or verbose logging for troubleshooting purposes. VMware recommends reverting to default logging (info level) immediately after the troubleshooting is complete. VMware does not recommend trivia/verbose logging to be enabled in a production environment except for troubleshooting. Perform the steps in this article only after consulting VMware technical support.

Back up the original file as detailed logging fills disk space very quickly. Revert any changes after troubleshooting is complete. Do not skip this step.

Using a text editor, add these lines to vpxd.cfg file under the <config> element:

<log>
<level>trivia</level>
</log>

Notes:

The vpxd.cfg configuration file entries are case sensitive.

For vCenter Server 4.0, the <log> area of the vpxd.cfg file is surrounded by , which effectively turns everything between those lines into comments. These lines need to be removed for any changes to the logging level to be effective.

Restart the VMware VirtualCenter Server service in the Server Manager. Trivia level logging is enabled. You can also specify how many logs are generated and the size of each log. This is useful for keeping enough history to troubleshoot the problem without losing logs via automatic rotation.

This example instructs logging to be written to C:\vpxlog\ with Trivia logging and a maximum number of log files at 50, with a file size of approximately 10MB each:

<log>
<level>trivia</level>
<maxFileNum>50</maxFileNum>
<directory>C:\vpxlog\</directory>
<maxFileSize>10485760</maxFileSize>
<name>vpxd</name>
</log>

Notes:

Remember to restart the VMware VirtualCenter Server service in the Server Manager after each change is made.

For VMware vCenter Server 4.x, the <name>vpxd</name> can be omitted.

If the directory has been modified, the vpxd logs may not be present when generating a diagnostic bundle.

If necessary, further logging can be turned on for other processes:

Under the <config> line, add these lines to enable debug logging level for NFC process:

<nfc>
<loglevel>debug</loglevel>
</nfc>

Add this information to enable database tracing:

<trace>
<db>
<verbose>true</verbose>
</db>
</trace>

Note: Before enabling database tracing, trivia logging must be enabled.

This is an example of all the above features combined:

<config>
<log>
<level>trivia</level>
<maxFileNum>50</maxFileNum>
<directory>C:\vpxlog\</directory>
<maxFileSize>10485760</maxFileSize>
<name>vpxd</name>
</log>
<nfc>
<loglevel>debug</loglevel>
</nfc>
<trace>
<db>
<verbose>true</verbose>
</db>
</trace>
...
</config>

Notes:

For VMware vCenter Server 4.x, the <name>vpxd</name> can be omitted.

The default output location for logs is:

C:\Windows\Temp\vpx\ for VMware VirtualCenter 2.0.x

C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs\ for VirtualCenter 2.5.x, 3.x, and vCenter Server 4.x, 5.x

Note: In Windows 2008, the vCenter Server log files are located at C:\ProgramData\VMware\VMware VirtualCenter\Logs.

Additional Information

For more information, see Increasing VMware vCenter Server and VMware ESX/ESXi logging levels (1004795)

For translated versions of this article, see:

日本語: VMware vCenter Server 4.x および 5.x での瑣末な情報のログの有効化 (2080808)

简体中文: 在 VMware vCenter Server 4.x 和 5.x 中启用琐事日志记录 (2086163)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

Related Versions:

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant