This section describes how to enable the syslog notifications.

You enable syslog notification in the HQ server's server-log4j.xml file, in the SERVER_HOME/conf directory.

1

Open the server-log4j.xml file in a text editor.

2

Insert the -r switch to syslogd at startup to enable the syslog receiver.

This enables remote logging.

3

To enable the syslog appender, uncomment the following lines and change level value to INFO instead of ERROR

<appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
   <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/>
   <param name="Facility" value="SYSLOG"/>
   <param name="FacilityPrinting" value="true"/>
   <param name="SyslogHost" value="localhost"/>
   <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%c{1}[%r]: %m%n"/>
   </layout>
</appender>

<logger name="org.hyperic.hq.bizapp.server.action.log.SyslogAction">
  <level value="INFO" />
  <appender-ref ref="SYSLOG" />
</logger>

If you want to configure a different facility for the appender, note that it must be syslog-configured. If server-log4j.xml does not contain the lines shown above, add them in the appenders section. All appenders in the file must be grouped together.

To present the syslog notification as an option when you set up an escalation, restart the vCenter Hyperic server.