HP UX Internet and Networking Software manual Querylogtype, Override

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 409
Image 409

Administration Commands

query_log_type

The maximum size of the log file specified by log_file_type. When a message written to the file causes the file size to exceed this limit, SNAplus2 clears the backup log file, copies the current contents of the log file to the backup log file, and then clears the log file. The maximum amount of disk space taken up by log files is approximately twice the value of file_size.

2.138.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

No parameter errors occur for this command.

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.

2.139 query_log_type

The query_log_type command returns information about the categories of log messages that SNAplus2 records in log files, and whether these categories of log messages are the default settings specified on set_global_log_type or local settings specified by a previous set_log_type command.

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.139.1 Supplied Parameters

[query_log_type]

No parameters are supplied for this command.

2.139.2 Returned Parameters

Parameter name

Type

overrideconstant

auditconstant

exceptionconstant

succinct_audits constant

succinct_errors constant

If the command executes successfully, SNAplus2 returns the following parameters:

override

Specifies whether the log types and succinct or full logging options returned on this command are the global log types specified on set_global_log_type, or the local values specified on set_log_type. Possible values are:

409

Page 409
Image 409
HP UX Internet and Networking Software manual Querylogtype, Override