|
|||||||||||||||||||||||||||||||
1. Managing Terminals and Modems (Overview) 2. Setting Up Terminals and Modems (Tasks) 3. Managing Serial Ports With the Service Access Facility (Tasks) 4. Managing System Resources (Overview) 5. Displaying and Changing System Information (Tasks) 8. Scheduling System Tasks (Tasks) 9. Managing System Accounting (Tasks) 10. System Accounting (Reference) 11. Managing System Performance (Overview) 12. Managing System Processes (Tasks) 13. Monitoring System Performance (Tasks) 14. Troubleshooting Software Problems (Overview) Enabling Remote Console Messaging How to Enable an Auxiliary (Remote) Console How to Display a List of Auxiliary Consoles How to Enable an Auxiliary (Remote) Console Across System Reboots How to Disable an Auxiliary (Remote) Console 16. Managing Core Files (Tasks) 17. Managing System Crash Information (Tasks) 18. Troubleshooting Miscellaneous Software Problems (Tasks) 19. Troubleshooting File Access Problems (Tasks) 20. Resolving UFS File System Inconsistencies (Tasks) |
Customizing System Message LoggingYou can capture additional error messages that are generated by various system processes by modifying the /etc/syslog.conf file. By default, the /etc/syslog.conf file directs many system process messages to the /var/adm/messages files. Crash and boot messages are stored here as well. To view /var/adm messages, see How to View System Messages. The /etc/syslog.conf file has two columns separated by tabs: facility.level ... action
The following example shows sample lines from a default /etc/syslog.conf file. user.err /dev/sysmsg user.err /var/adm/messages user.alert `root, operator' user.emerg * This means the following user messages are automatically logged:
Note - Placing entries on separate lines might cause messages to be logged out of order if a log target is specified more than once in the /etc/syslog.conf file. Note that you can specify multiple selectors in a single line entry, each separated by a semi-colon. The most common error condition sources are shown in the following table. The most common priorities are shown in Table 15-2 in order of severity. Table 15-1 Source Facilities for syslog.conf Messages
Note - The number of syslog facilities that can be activated in the /etc/syslog.conf file is unlimited. Table 15-2 Priority Levels for syslog.conf Messages
How to Customize System Message Logging
This sample /etc/syslog.conf user.emerg facility sends user emergency messages to root and individual users. user.emerg `root, *' |
||||||||||||||||||||||||||||||
|