Administration Commands

set_log_type

NO

Use detailed logging in the audit log file. Each message in the log file includes a full listing of the message header information, the message text string and parameters, and additional information about the cause of the log and any action required.

LEAVE_UNCHANGED

Leave succinct logging or detailed logging unchanged from the existing definition.

If you are using central logging, the choice of succinct or detailed logging for messages from all computers is determined by the setting of this parameter on the server acting as the central logger. This setting can either be from the set_global_log_type command or from a set_log_type command issued to that server to override the default.

succinct_errors

Specifies whether to use succinct logging or detailed logging in the error log file on this server; this applies to both exception logs and problem logs. Possible values are:

YES

Use succinct logging in the error log file. Each message in the log file contains a summary of the message header information (such as the message number, log type, and system name), and the message text string and parameters. To obtain more details about the cause of the log and any action required, use the snaphelp utility.

NO

Use detailed logging in the error log file. Each message in the log file includes a full listing of the message header information, the message text string and parameters, and additional information about the cause of the log and any action required.

LEAVE_UNCHANGED

Leave succinct logging or detailed logging unchanged from the existing definition.

2.190.2 Returned Parameters

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

2.190.3 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

INVALID_SUCCINCT_SETTING

The succinct_audits or succinct_errors parameter was not set to a valid value.

State Check

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

592

Page 592
Image 592
HP UX Internet and Networking Software manual 592