HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_CENTRAL_LOGGER
Chapter 4536
QUERY_CENTRAL_LOGGER
This verb returns the name of the node currently defined as the central
logger (the node holding the central log file to which SNAplus2 log
messages from all servers are sent). This verb does not return
information about whether central logging is active; use
QUERY_CENTRAL_LOGGING to determine this.
This verb must be issued with a null target handle.
VCB Structure
typedef struct query_central_logger
{
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 node_name[64]; /* name of central logger */
} QUERY_CENTRAL_LOGGER;
Supplied Parameters
The application supplies the following parameter:
opcode
AP_QUERY_CENTRAL_LOGGER
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
secondary_rc
Not used.
node_name
The name of the node defined as the central logger.
Returned Parameters: State Check
If the verb does not execute because of a state error, SNAplus2 returns
the following parameters: