Instruction manual
Chapter 2 Installation, Configuration and Management
NetScaler 9000 Series Installation and Configuration Guide - Volume 1 2-77
NSICG60_DEC04
If you are using local facility 4 rather than the default of 1, the syslogfacility
entry needs to be changed to 'syslogfacility=4'.
Next, you need to update the /nsconfig/syslog.conf to reflect the new local
logging facility value. To do this, edit the /nsconfig/syslog.conf file, changing
the following line to use the new local facility value.
local1.* /var/log/nsvpn.log
For example, if you are configuring the local4 syslog facility for VPN event
logging, the facility entry will need to be changed to 'local4.*' in this line.
Using a Log Host
If you prefer to have syslog send messages to an external log host rather than
to local files, you need only to remove the log file specifications in your /
nsconfig/syslog.conf file for either of the two local facilities, replacing them
with the loghost hostname or IP address. The example below illustrates these
changes.
local0.* @10.100.3.53
local1.* @10.100.3.53
You must also configure your loghost system to accept both local logging
facilities for it to successfully receive both logs. Consult with your loghost
system's documentation in order to confirm how to do this. For most UNIX
based servers using standard syslog, you will need to add a local facility
configuration line for both the ns.log and the nsvpn.log files in the syslog.conf
configuration file. The facility values must correspond with those configured
on the NetScaler system.
2.6.8.3 Log File Rotation
The log files present on the NetScaler system are rotated automatically at
regular intervals. If you change the names of your log files, you will need to
update the rotation configuration to reflect the names you are using so that the
correct files will be rotated. Additionally, if you wish to customize the
rotation configuration for the log files, you may do so. The file which controls
log rotation can be found at /etc/newsyslog.conf.
To make changes to this file, copy the file from /etc/newsyslog.conf to /
nsconfig/newsyslog.conf if one does not already exist at /nsconfig. Edit the
newsyslog.conf file in /nsconfig and reboot when done in order to affect the
changes.