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 9000 Networking: HP-UX SNAplus2 Administration Command Reference > Chapter 4 Commands (remove_dlc_trace to term_node)

set_central_logging

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The set_central_logging command specifies whether SNAplus2 log messages are sent from all servers to a central file, or to a separate file on each server. For more information about log files, see set_log_file.

This command must be issued without specifying a node name.

Supplied Parameters

Parameter name          Type        Length    Default
[set_central_logging]
enabled constant YES

Supplied parameter is:

enabled

Specifies whether to enable or disable central logging. Possible values are:

YES

Enable central logging. All log messages are sent to a single central file on the node that is currently the central logger.

NO

Disable central logging. Log messages from each server are sent to a file on that server (specified using set_log_file).

Returned Parameters

No parameters are returned by SNAplus2 when this command executes successfully.

Error Return Codes

If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.

Parameter Check

If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:

primary_rc

PARAMETER_CHECK

secondary_rc
NOT_CENTRAL_LOGGER

The command was issued to a specific node. It must be issued without specifying a node name.

State Check

No specific state errors, other than those listed in Appendix A “Common Return Codes from snapadmin Commands” occur for this command.

Other Conditions

Appendix A “Common Return Codes from snapadmin Commands” lists combinations of primary and secondary return codes that are common to all commands.

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