Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

Changing ESXi Syslog from verbose

$
0
0

Hi all Gurus,

 

I have tring to change the default log level in ESXi 4.1.0 version 348481.

 

I already read a lot off stuff about the subject, but unfortunately I cannot get this accomplished.

 

Steps:

 

- Read this http://virtirl.com/?p=56 and this http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004795 .. etc ...

 

- Alter the configuration:

   <log>
      <!-- controls where rolling log files are stored -->
      <directory>/var/log/vmware/</directory>

      <!-- name of log file -->
      <name>hostd</name>

      <!-- controls whether logger sends its output to console also -->
      <outputToConsole>false</outputToConsole>

      <!-- If true, log to files on disk -->
      <outputToFiles>true</outputToFiles>

      <!-- default size(in bytes) of each log file before rolling over to next -->
      <maxFileSize>524288</maxFileSize>

      <!-- default number of log files to rotate amongst -->
      <maxFileNum>8</maxFileNum>

      <!-- default log level -->
      <level>none</level>

      <!-- If true, logs to syslog -->
      <outputToSyslog>true</outputToSyslog>

      <!-- syslog configuration.  Only used if outputToSyslog is true. -->
      <syslog>
         <!-- syslog identifier to use when logging -->
         <ident>Hostd</ident>

         <!-- syslog facility to use when logging -->
         <facility>local4</facility>
      </syslog>

   </log>

   <!-- Log level configuration (Rules are applied in order) -->
   <level id = "1">
      <logName> PropertyProvider </logName>
      <logLevel> info </logLevel>
      <prefix> false </prefix>
   </level>

   <level id = "2">
      <logName> SoapAdapter.HTTPService </logName>
      <logLevel> info </logLevel>
      <prefix> false </prefix>
   </level>

 

- Restart the hostd

- reboot the physical host

 

But I keep getting the info level in the /var/log/messages

 

I 'am open to ideas, any one have a clue what maybe the problem in this ?

 

 

Regards


Viewing all articles
Browse latest Browse all 180259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>