By default,
SPD Server creates log files in the
InstallDir/log
directory. The files contain messages that are written to STDOUT or STDERR for the
spdsnsrv (SPD Server
name server), spdsserv (SPD Server host), and spdssnet (SPD Server SNET Server) processes. The
content and location of SPD Server logs is controlled by the value of the rc.spds
script variable LOGDIR= .
If you do not want to
keep these logs, change the value of LOGDIR= to /dev/null
.
If you want to keep the logs in a location other than InstallDir/log
,
specify the new path value in LOGDIR=.
SPD Server log files can grow very large if there is considerable activity. The log
files are
configured to recycle at a given time each day and start a new logfile. The older
log files can then be removed or archived.
The rc.spds script contains
the following variables to control the log name and recycle time:
SPD Server host process:
DSRVFILE=spdsserv
specifies the spdsserv
process log file prefix. By default, the name spdsserv_mmddyyyy_hh:mm:ss.spdslog
is generated. The values mmddyyyy and hh:mm:ss indicate the time at
which the system created the log file.
DSRVTIME=00:00
specifies a recycle
time of midnight.
Name server process:
NSRVFILE=spdsnsrv
specifies the spdsnsrv
process log file prefix. By default, the name spdsnsrv_mmddyyyy_hh:mm:ss.spdslog
is generated. The values mmddyyyy and hh:mm:ss indicate the time at
which the system created the log file.
NSRVTIME=00:00
specifies a recycle
time of midnight.
SNET Server process:
SNSFILE=spdsnet
specifies the prefix
of the spdssnet process log file. By default, the name spdssnet_mmddyyyy_hh:mm:ss.spdslog
is generated. The values mmddyyyy and hh:mm:ss indicate the time at
which the system created the log file.
SNSTIME=00:00
specifies the time
of midnight.
To disable automatic
log filename generation and cycling, change those settings to empty
pointers.
See the comments in
the rc.spds script for information to set the log files to recycle
at a different time of day or interval from the start time.