Messages of the POSIX programs and daemons are logged by calling the syslog daemon (syslogd) via the CRTE interface syslog(). The syslog daemon logs the messages in one or more logging files. The behavior of the syslog daemon can be controlled using the /etc/syslog.conf file. By default the syslog daemon log all messages in the /var/adm/syslog file.
The syslog daemon corresponds to Version 1.167 of the FreeBSD implementation (see http://www.freebsd.org). In addition to adjustments to the general conditions of POSIX/BS2000, the following functions have been removed:
Reception of messages from remote computers
Sending messages to remote computers
Writing messages on terminals
Writing messages on command pipes
The licencsing conditions are contained in section “Licensing conditions for the FreeBSD implementation”.
If POSIX programs with an obsolete runtime system (CRTE) are also executed on the system, their messages are logged in the /var/adm/messages file. In this case the /var/adm/messages file should not be assigned as the logging file for the syslog daemon because the logrotate command will then not function correctly.
Each time the POSIX subsystem is restarted new logging files are created after the previous files have been renamed (suffix ".0" through ".3"). The logging files can also be changed during ongoing operation using the logrotate command (see the manual "POSIX Commands" [1]).