HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (REGISTER_INDICATION_SINK to UNREGISTER_INDICATION_SINK)
SET_LOG_FILE
Chapter 5 1047
AP_AUDIT_FILE
Audit log file (audit messages only).
AP_ERROR_FILE
Error log file (problem and exception
messages).
To record both types of messages in the same file, issue
two SET_LOG_FILE verbs for the same file name,
specifying AP_AUDIT_FILE on one verb and
AP_ERROR_FILE on the other.
action
The action to be taken on the log file. Specify one of the
following values:
AP_NO_FILE_ACTION
Use the file specified in the
file_name
parameter as the log file,
and the file specified in the
backup_file_name
parameter as the
backup file. After this verb completes
successfully, all log messages of the
type defined by
log_file_type
are
written to the newlog file.The log file
that was used before this verb is
issued, if any, is left unchanged.
AP_DELETE_FILE
Delete the contents of the current log
file.
AP_BACKUP_FILE
Copy the contents of the current log
file to the backup file, and then delete
the contents of the current file.
file_name
Name of the new log file.
To create the file in the default directory for diagnostics
files,/var/opt/sna, specify the file name with no path.
To create the file in a different directory, specify either