Instruction manual

Chapter 2 Installation, Configuration and Management
2-76 NetScaler 9000 Series Installation and Configuration Guide - Volume 1
NSICG60_DEC04
dynamically generated /etc directory will be recreated and your customized
syslog.conf file will be used in place of the base version.
a. System Logging Facility
NetScaler system messages are configured to use the syslog local0 facility,
logging to /var/log/ns.log. To override this configured facility, you will need
to make two edits. First, add the following line to /nsconfig/rc.conf. You will
need to create a new file if one does not already exist. Replace the local
facility value in the syslogfacility=0 parameter with the desired local facility
level.
nssyslog_flags="-s syslogfacility=0 -s syslog=1 -d
eventwait"
For example, if you need to configure the local2 facility for system logs, your
new entry for the syslogfacility value will read as 'syslogfacility=2'.
Next, you need to edit the syslog configuration to reflect the new value also. If
you have not previously copied the /etc/syslog.conf file to the /nsconfig/
directory, do so now. Open the /nsconfig/syslog.conf file and change the
following line to use the new local facility value.
local0.* /var/log/ns.log
For example, rather than 'local0.*', your new entry will be 'local2.*' if you are
configuring the local2 facility for system logs.
Note: When editing the syslog.conf file, be sure to use tabs as field
separators.
b. VPN Logging Facility
NetScaler VPN messages are configured to use the syslog local1 facility,
logging to /var/log/nsvpn.log. To use another syslog local facility for VPN
logging, you will need to change entries in two places as with the system
logging facility.
First, edit the /nsconfig/rc.conf file, creating a new file if it does not already
exist. In this file, add the following line, changing the syslogfacility value to
your desired syslog local facility number.
nsvpnlog_flags="-s syslogfacility=1 -s syslog=1 -d
accesslogs"