CS/AIX writes log messages describing abnormal events (and, optionally, normal events) to log files. When you try to diagnose a problem, the first place to look is in the log files, because the log messages provide information about the cause of the problem and the action you should take.
CS/AIX logs messages for the following categories of event:
CS/AIX also maintains a usage log file, which is used to record information about the current and peak usage of CS/AIX resources.
To distinguish between logs relating to normal and error conditions, the different message categories are logged to different files. Problem and exception messages are logged to the error log file; audit messages are logged to the audit log file.
CS/AIX provides a backup mechanism to prevent log files from becoming too large and consuming disk resources. When a log file reaches the maximum permitted size, CS/AIX copies its current contents to a backup file and then clears the log file.
By default, CS/AIX uses the following log files:
/var/sna/bak.err (backup)
/var/sna/bak.aud (backup)
/var/sna/bak.usage (backup)
You can view the log files using a text editor or other AIX system utilities:
If you selected succinct rather than verbose logging, you can use the snahelp command to determine the cause and action information for a particular message number.
For most purposes, the default settings for logging are sufficient, but you can make the following types of changes:
Problem messages are always logged and cannot be disabled. Logging is normally disabled for the other two message categories, but you can enable it if necessary.
To configure logging, use one of the following methods:
In addition to providing control over logging, the Motif administration program provides node-level control over tracing. The command-line interface provides greater control over both logging and tracing functions. For more information about logging and tracing, refer to Communications Server for AIX Diagnostics Guide.