Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX SNAplus2 NOF Programmers Guide: HP-UX 11i > Chapter 4 NOF API Verbs (QUERY Verbs)

QUERY_CENTRAL_LOGGER

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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:

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003 Hewlett-Packard Development Company, L.P.