|
|
|
|
This chapter provides information about how to control the logging and format of SNAP-IX TN3270 log messages and explains what types of actions you can take based on information in the messages.
SNAP-IX TN3270 logs messages for the following event categories:
An abnormal event that degrades the system in a way that is easily perceived by a user. An example is abnormal termination of a session.
SNAP-IX TN3270 always logs these events. You cannot choose to disable logging of these events. By default, SNAP-IX TN3270 logs these events to the file sna.err in the /var/opt/tn3270 subdirectory.. You can specify a different file name in the diagnostics configuration file record.
The following are logged as exception events:
Abnormal system events that degrade system performance but are not immediately perceived by a user. An example is a resource shortage.
Events that do not degrade system performance but may indicate the cause of later exceptions or problems. An example is receiving an unexpected message from the remote system.
You can choose to disable logging of these events by not including the exception flag in the diagnostics configuration file record. By default, SNAP-IX TN3270 logs these events to the file sna.err in the /var/opt/tn3270 subdirectory. You can specify a different file name in the diagnostics configuration file record.
A normal system event. An example is starting a session.
You can choose to enable logging of these events by including the audit flag in the diagnostics configuration file record. By default, if you enable audit logging, SNAP-IX TN3270 logs these events to the file sna.aud in the /var/opt/tn3270 subdirectory. You can specify a different file name in the diagnostics configuration file record.
Because audit logging generates large amounts of text and may degrade performance, you may prefer not to use it unless you need it to diagnose a problem.
If you prefer, you can specify that SNAP-IX TN3270 log all messages to the same file by specifying the name of that file with the extension .log in both the exception and audit fields of the diagnostics configuration file record.
For more information about the diagnostics configuration file record, see Configuring SNAP-IX TN3270.
|
|
|
|
|