Saving Logging Information for an SRC Component
Many SRC server processes (including the SAE server, NIC host server, SNMP agent server, and the license server) have been modified to use a daemon wrapper. The daemon wrapper script writes the output of its child process to the files <server-install-dir>/stdout and <server-install-dir>/stderr. For example, in the SAE these files are located by default in the /opt/UMC/sae/stdout and /opt/UMC/sae/stderr directories. The files include timestamps.
You can rotate these files without stopping the server process. The rotation method uses the standard UNIX method for reopening log files: When you want to rotate the logs, rename the current file and then send a SIGHUP signal to the process. The process ID is stored in the file <server-install-dir>/var/run/daemon.pid. For example in SAE, this file is located at /opt/UMC/sae/var/run/daemon.pid. You can automate log rotation with system tools, such as logadm (Solaris 9) or rotatelog, see