HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_CENTRAL_LOGGING
Chapter 4 539
Central logging is enabled. All log
messages are sent to a single file on
the node currently acting as the
central logger.
AP_NO
Central logging is disabled. Log
messages from each server are sent to
a file on that server (specified using
the SET_LOG_FILE verb).
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.
State Check
If the command does not execute because of a state error, SNAplus2
returns the following parameters:
primary_rc
AP_STATE_CHECK
secondary_rc
AP_NO_CENTRAL_LOG
No master server is currently active.
Returned Parameters: Other Conditions
Appendix A, “Common Return Codes,” lists further combinations of
primary and secondary return codes that are common to all NOF verbs.