Skip navigation
VMware

This Question is Not Answered

1 "correct" answer available (10 pts)
1,256 Views 4 Replies Last post: Sep 21, 2010 2:39 AM by JimKnopf99 RSS
JimKnopf99 Expert 373 posts since
Feb 10, 2010
Currently Being Moderated

Sep 20, 2010 2:35 AM

Set log information value

Hi,

 

i have edit my syslog.conf to apply a external syslog server. But i know, with esxi4 it was not possible to limit the logfile only for capture error, debug or what else informaion. It is only possible to log anything.

 

 

 

Is it possible to change the logfile informaion in ESXi4.1? In ESX it is possible to change the settings so it can define if i want to only log the debug or error information.

 

 

 

Thanks for any information.

 

 

 

Frank

 

 

 

 

 

 

 

 

 

If you find this information useful, please award points for "correct" or "helpful".

lamw Guru vExpert 5,961 posts since
Nov 27, 2007
Currently Being Moderated
1. Sep 20, 2010 8:59 AM in response to: JimKnopf99
Re: Set log information value

The straight forward answer is no, there are no supported configurations to ESXi's syslog to log specific events/etc.

 

Here is a blog post that I wrote that may help with this, but again it's most likely unsupported and if you plan on making any changes, be sure to talk to VMware support before doing so - http://www.virtuallyghetto.com/2010/06/increase-syslog-count-in-esxi-using.html

 

 

 

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

 

 

If you find this information useful, please award points for "correct" or "helpful".

*Disclaimer: VMware Employee - William Lam | http://www.virtuallyghetto.com | http://blogs.vmware.com/vsphere/automation | @lamw
pchadwic Novice 9 posts since
Aug 6, 2008
Currently Being Moderated
2. Sep 20, 2010 9:41 AM in response to: lamw
Re: Set log information value

Per Lamw, there are no supported options, but I found the following (unsupported) way to change logging levels-

 

Logging levels for specific processes are stored in

 

hostd-     /etc/vmware/hostd/config.xml

vpxa-     /etc/opt/vmware/vpxa/vpxa.cfg

 

Edit the file, and change the log level from

      

to the level you want.

     none (Disable logging)

     error (errors only)

     warning (errors and warnings)

     information (normal logging)

     verbose (verbose)

 

Restart the services with

      services.sh restart hostd

Save the changes with /sbin/auto-backup.sh

 

These steps stopped my syslog server from choking on the "verbose" logging esxi was spitting out.

 

now if I could only change the levels remotly, I could add them to the build script.

Dave.Mishchen… Guru User Moderators vExpert 11,905 posts since
Nov 15, 2005
Currently Being Moderated
3. Sep 20, 2010 12:40 PM in response to: pchadwic
Re: Set log information value

The two files you mention are accessible with vifs for both get and put operations.- http://www.vm-help.com/esx/esx3i/esx_3i_rcli/vifs.php




Dave

VMware Communities User Moderator

 

Now available - vSphere Quick Start Guide

Do you have a system or PCI card working with VMDirectPath?  Submit your specs to the Unofficial VMDirectPath HCL.

Bookmarked By (0)

Share This Page

Communities