Skip navigation
VMware

This Question is Answered

1 "correct" answer available (10 pts)
480 Views 6 Replies Last post: May 11, 2011 7:02 AM by kjb007 RSS
MaxBeard Novice 27 posts since
Apr 6, 2011
Currently Being Moderated

May 11, 2011 5:37 AM

Wrong kb about "Enabling syslog on ESXi" or something else?

Hi all

I have tried to set syslog settings with instructions from http://kb.vmware.com/kb/1016621 But it looks like that I made something wrong or instructions are not correct.

 

I use VMware ESXi 4.1.0 build-260247 server.

syslogd service from this host reports that "Note that this version of syslogd ignores /etc/syslog.conf." BUT if I use vSphere client to set syslog local log path, it stores my changes in "/etc/syslog.conf" and these settings work after host restart. Manual changes of this file work also.

 

Furthermore, any changes in "/etc/vmware/init/init.d/07.logger" file (kb recommended way) are ignored and this file is reverted to its original state after host restart.

 

Can anybody clarify this behavior? Thanks!

Maxim Shulga
 
kjb007 Guru vExpert 6,697 posts since
Sep 18, 2006
Currently Being Moderated
1. May 11, 2011 6:42 AM in response to: MaxBeard
Re: Wrong kb about "Enabling syslog on ESXi" or something else?

Modifying through the client would be the preferred method, as the manual edit method, as the kb states, may not be retained after restart or not run properly on some systems.

 

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
kjb007 Guru vExpert 6,697 posts since
Sep 18, 2006
Currently Being Moderated
3. May 11, 2011 7:02 AM in response to: MaxBeard
Re: Wrong kb about "Enabling syslog on ESXi" or something else?

The setting should work, but the problem still remains that in some cases, your changes may not be retained.  I don't really like reading notes like that personally, but it is there for a reason.  So, the safe bet is to use the GUI, where the note does not apply, but in most cases, modifying that file "should" work just fine.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
DSTAVERT Guru User Moderators vExpert 10,090 posts since
Nov 30, 2003
Currently Being Moderated
5. May 11, 2011 7:29 AM in response to: MaxBeard
Re: Wrong kb about "Enabling syslog on ESXi" or something else?

I do think the KB article is incorrect. The 07.logger init entry is intended for the early startup of the logger when things like datastores might not be mounted yet. The original intent of the KB article may heve been to address some other issue and somehow morphed into something else. I will bring it to the attention of the KB team.

-- David -- VMware Communities Moderator

Bookmarked By (0)

Share This Page

Communities