Configuring Syslog settings

Complete these steps to configure a Syslog daemon or Syslog server as a Syslog Logging server to collect and store most of the VIP Enterprise Gateway logs.
Although you can view the VIP Enterprise Gateway log files from the Configuration Console or in the VIP Enterprise Gateway server directory, this view may not be the most convenient way to monitor what is happening in the system. You can configure a Syslog daemon or Syslog server as a Syslog Logging server to collect and store most of the VIP Enterprise Gateway logs. The local log files are still available in the VIP Enterprise Gateway server.
  1. To configure VIP Enterprise Gateway to write logs to Syslog:
  2. In the
    Logs
    tab, click
    Syslog Configuration
    .
  3. On the
    Syslog Configuration
    page, do one of the following operations:
    • If you are configuring Syslog for the first time, you are prompted to configure the Syslog settings. Select
      Yes
      .
    • If you have already configured Syslog, click
      Edit
      at the bottom of the page.
  4. Complete the following fields as required and click
    Save
    .
    Field
    Description
    Syslog Facility
    Set the appropriate facility level used for logging, for example: local0. (By default, VIP Enterprise Gateway uses the LOG_LOCAL0 facility for syslog).
    The facility level that is defined applies to both the Syslog Host and the Syslog Port
    Syslog Host
    Enter the IP address (in IPV4 format) or the host address of system where the Syslog daemon runs. For example,
    localhost
    .
    Syslog Port
    Enter the port number on which the service listens. The default Syslog UDP port is 514.
  5. Add more Syslog hosts by clicking the plus button under
    Actions
    in this table.
  6. Click
    Save
    .
  7. By default, VIP Enterprise Gateway uses the LOG_LOCAL0 facility for syslog and writes to
    /var/log/message
    . To configure a different location for syslog, modify the
    /etc/syslog.conf
    file:
    • Set the following line in the
      syslog.conf
      file:
      local0.* /var/log/vipeg_9_4.log
      Where:
      • <level>
        is the logging level. The log levels that you configure for each component in the Configuration Console overrides the log levels that you set here.
      • <log_dir>
        is the location to write syslog activity.
      See
      man syslog.conf
      for more details on customized syslog configuration.
    • Send the
      SIGHUP
      command to
      syslogd
      .
  8. Configure the VIP Enterprise Gateway components to enable Syslog: