Command Reference Guide

Administration Commands
query_log_le
2.138 query_log_le
The query_log_file command enables you to determine the name of the le that SNAplus2 uses to record
audit, error, or usage log messages, the name of the backup log le, and the le size at which log information is
copied to the backup le.
2.138.1 Supplied Parameters
Parameter name Type Length Default
[query_log_file]
log_file_type constant ERROR
Supplied parameters are:
log_le_type
The type of log le to be queried. Possible values are:
AUDIT
Audit log le (audit messages only)
ERROR
Error log le (problem and exception messages)
USAGE
Usage log le (current and peak usage of SNAplus2 resources).
2.138.2 Returned Parameters
Parameter name Type Length
file_name character 80
backup_file_name character 80
file_size decimal
If the command executes successfully, SNAplus2 returns the following parameters:
le_name
Name of the log le.
If no path is included, the le is stored in the default directory for diagnostics les, /var/opt/sna.Ifa
path is included, this path is either a full path (starting with a
[/] character) or the path relative to the default
directory.
backup_le_name
Name of the backup log le. When the log le reaches the size specied by
le_size, SNAplus2 copies the
current contents of the log le to this le and then clears the log le. You can also request a backup at any
time using set_log_file.
If no path is included, the backup log le is stored in the default directory for diagnostics les, /var/opt/
sna. If a path is included, it is either a full path (starting with a
[/] character) or the path relative to the
default directory.
le_size
408