HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
SET_CENTRAL_LOGGING
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char enabled; /* is central logging enabled? */
unsigned char reserv3[3]; /* reserved */
} SET_CENTRAL_LOGGING;
3.175.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_SET_CENTRAL_LOGGING
enabled
Specify whether central logging is enabled or disabled. Possible values are:
AP_YES
Central logging is enabled. All log messages are sent to a single le on the node currently acting as
the central logger.
AP_NO
Central logging is disabled. Log messages from each server are sent to a le on that server (specied
using the SET_LOG_FILE verb).
3.175.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
secondary_rc
Not used.
3.175.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
AP_NOT_CENTRAL_LOGGER
The verb was issued to a node that is not the central logger.
3.175.5 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
711