HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (REGISTER_INDICATION_SINK to UNREGISTER_INDICATION_SINK)
SET_LOG_TYPE
Chapter 5 1051
SET_LOG_TYPE
This verb specifies the types of information that SNAplus2 records in log
files on a particular server. It can be used to override the default settings
specified on SET_GLOBAL_LOG_TYPE, or to remove the override so
that this server reverts to using the default settings. For more
information about log files, see “SET_LOG_FILE”.
SNAplus2 logs messages for the following types of event:
Problem An abnormal event that degrades the system in a way
perceptible to a user (such as abnormal termination of
a session).
Exception An abnormal event that degrades the system but that
is not immediately perceptible to a user (such as a
resource shortage), or an event that does not degrade
the system but may indicate the cause of later
exceptions or problems (such as receiving an
unexpected message from the remote system).
Audit A normal event (such as starting a session).
Problem and exception messages are logged to the error log file; audit
messages are logged to the audit log file. Problem messages are always
logged and cannot be disabled, but you can specify whether to log each of
the other two message types. For each of the two files (audit and error),
you can specify whether to use succinct logging (including only the text of
the message and a summary of the message source) or full logging
(including full details of the message source, cause, and any action
required).
VCB Structure
typedef struct set_log_type
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char override; /* override global defaults? */
unsigned char audit; /* audit logging on or off */
unsigned char exception; /* exception logging on or off */