The rc.spds script assumes
that you want to keep the logs from messages written to STDOUT or
STDERR of the spdsnsrv ( SPD Server name server) and spdsserv (SPD
Server host) processes. The shell variable LOGDIR= defines the directory
in which these logs are kept. If you do not want to keep these logs,
change LOGDIR=, and the rc.spds script will use
/dev/null
. If you want to keep the logs in another location besides
InstallDir/log
, change LOGDIR=.
The DSRVFILE= and DSRVTIME=
spdsserv options, NSRVFILE= and NSRVTIME= spdsnsrv options, and SNSFILE=
and SNSTIME= spdssnet options are enabled with the following shell
variables by default:
specifies the spdsserv
process log file prefix
specifies the time
of day to cycle the spdsserv log file
specifies the spdsnsrv
process log file prefix
specifies the time
of day to cycle the spdsnsrv log file
specifies the prefix
of the spdssnet process log file
specifies the time
of day to cycle the spdssnet log file
Specify the log file
prefix and the log file cycle time of day to enable automatic log
filename generation and cycling of the log file. The file path for
the -logfile option is generated by concatenating the LOGDIR= and
LOGFILE= variables. For more information about these options, see
SPD Server Host Commands. When automatic
log filename generation and cycling are enabled, the only messages
that are sent to the default log file are those written to STDERR.
If you want to disable automatic log filename generation and cycling,
change the settings to empty pointers, such as the DSRVFILE= and DSRVTIME=
options.
The LOGFILE= and LOGTIME=
spdsserv options are enabled by default with the following shell variables:
-
LOGFILE=spdsserv
specifies the spdsserv process log file prefix
-
LOGTIME=00:00
specifies the time of day to cycle the log file
These settings enable
automatic log filename generation and cycling by specifying the log
file prefix and the log file cycle time of day. The file path for
the -logfile option is generated by concatenating the LOGDIR= and
LOGFILE= variables. For more information about these options, see
SPD Server Host Commands. When automatic
log filename generation and cycling are enabled, the only messages
that go to the
InstallDir/log/spdsserv.log
file are those written to STDERR. If you want to disable automatic
log filename generation and cycling, change the settings to empty
pointers.