Command Reference Guide

Administration Commands
set_log_type
Activating audit logging as well as exception logging
Using central logging instead of distributed logging
Using detailed logging instead of succinct logging
2.189.2 Returned Parameters
No parameters are returned by SNAplus2 when this command executes successfully.
2.189.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 specic 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_FILE_ACTION
The action parameter was not set to a valid value.
INVALID_FILE_TYPE
The log_le_type parameter was not set to a valid value.
State Check
No specic 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.
2.190 set_log_type
The set_log_type command species the types of information that SNAplus2 records in log les on a particular
server. This command can be used to override the default settings specied on set_global_log_type,orto
remove the override so that this server reverts to using the default settings. For more information about log les,
see Section 2.189, set_log_le.
SNAplus2 always logs messages for problem events; you can specify whether to log messages for exception and
audit events. For more information about logging messages, refer to the HP-UX SNAplus2 Diagnostics Guide.
2.190.1 Supplied Parameters
Parameter name Type Length Default
[set_log_type]
override constant YES
590