| United States-English |
|
|
|
![]() |
HP 9000 Networking: HP-UX SNAplus2 Administration Guide > Chapter 4 Basic Configuration TasksConfiguring Logging |
|
SNAplus2 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. SNAplus2 logs messages for the following categories of event:
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. SNAplus2 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, SNAplus2 copies its current contents to a backup file and then clears the log file. By default, SNAplus2 uses the following log files:
If your favorite editor is installed on the server, you can use it to view the log files. If not, you can use the standard HP-UX system utilities:
If you selected succinct rather than verbose logging, you can use the snaphelp 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:
To configure logging, use one of the following methods:
The Logging dialog in the Motif administration program affects log settings throughout the domain. Using the command line, you can override the domain settings by configuring local log settings on a particular machine. 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 HP-UX SNAplus2 Diagnostics Guide. |
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||