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.
- To configure VIP Enterprise Gateway to write logs to Syslog:
- In theLogstab, clickSyslog Configuration.
- On theSyslog Configurationpage, do one of the following operations:
- If you are configuring Syslog for the first time, you are prompted to configure the Syslog settings. SelectYes.
- If you have already configured Syslog, clickEditat the bottom of the page.
- Complete the following fields as required and clickSave.FieldDescriptionSyslog FacilitySet 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 PortSyslog HostEnter the IP address (in IPV4 format) or the host address of system where the Syslog daemon runs. For example,localhost.Syslog PortEnter the port number on which the service listens. The default Syslog UDP port is 514.
- Add more Syslog hosts by clicking the plus button underActionsin this table.
- ClickSave.
- 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.conffile:
- Set the following line in thesyslog.conffile:local0.* /var/log/vipeg_9_4.logWhere:
- <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.
Seeman syslog.conffor more details on customized syslog configuration. - Send theSIGHUPcommand tosyslogd.
- Configure the VIP Enterprise Gateway components to enable Syslog:ComponentResourceConfiguration ConsoleMy VIP and Self Service Portal logsVIP Manager access logsLDAP Directory Synchronization Service logsHealth Check logs