Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

openlog(3) OSS Library Calls Reference Manual
LOG_ODELAY has effect.
LOG_PERROR
Has no effect. This option is included for compatibility with cer-
tain UNIX systems.
LOG_PID Includes the ZOSS-TKN-PID token, which contains the OSS
process ID of the calling process, in each event message created
by the syslog( ) function.
Do not use this option when the calling process is running in the
Guardian environment. If you do so, a Guardian trap 5 occurs.
facility Indicates the part of the system generating the event message. If the facility
parameter does not contain 0 (zero), the value of this parameter is assigned to all
messages that do not have an explicit facility defined. If facility does contain 0
(zero), the facility value previously set by the openlog( ) function is used.
The value used for the facility parameter determines the value stored in the EMS
token ZOSS-TKN-FACILITY, unless overridden by a value specified for the
priority parameter of the syslog( ) function. Refer to the syslog(3) reference
page either online or in the Open System Services Library Calls Reference
Manual for more information about the use of this token.
The facility parameter is set by specifying symbolic values that correspond to
numeric values stored in the most significant bits of a type int data item. These
bits are called the facility field.
Select the facility from the following options:
LOG_LOCAL0, ... LOG_LOCAL7
Messages generated by local facilities. This option is reserved
for local site use.
LOG_MAIL Messages generated by a mail subsystem.
LOG_USER Messages generated by user processes. This is the default value.
The following facility options are included for compatibility with certain UNIX
systems. Most of these options are not normally used in the OSS environment
because the corresponding facilities are not included in the product as released
by HP:
LOG_AUTH Messages generated by the login, su, and other shell commands
or utilities belonging to a user authorization system.
LOG_CRON Messages generated by a clock daemon.
LOG_DAEMON
Messages generated by system daemons, such as the inetd pro-
cess.
LOG_KERN Messages generated by the kernel.
LOG_LPR Messages generated by a line printer subsystem.
542 Hewlett-Packard Company 527187-017