Aix Error Logging Facility
Contents |
- Directories Unix - File Permission Unix - Environment Unix - Basic Utilities Unix - Pipes & Filters Unix - Processes Unix - Communication Unix - The vi Editor Unix https://www.tutorialspoint.com/unix/unix-system-logging.htm Shell Programming Unix - What is Shell? Unix - Using Variables Unix - http://wwwuser.gwdg.de/~applsw/Parallelrechner/sp_documentation/pssp/diag/spd2mst12.html Special Variables Unix - Using Arrays Unix - Basic Operators Unix - Decision Making Unix - Shell Loops Unix - Loop Control Unix - Shell Substitutions Unix - Quoting Mechanisms Unix - IO Redirections Unix - Shell Functions Unix - Manpage Help Advanced Unix Unix - Regular Expressions Unix - File System error log Basics Unix - User Administration Unix - System Performance Unix - System Logging Unix - Signals and Traps Unix Useful Resources Unix - Useful Commands Unix - Quick Guide Unix - Builtin Functions Unix - System Calls Unix - Commands List Unix - Useful Resources Unix - Discussion Selected Reading Developer's Best Practices Questions and Answers Effective Resume Writing HR Interview Questions Computer Glossary Who aix error log is Who Unix - System Logging Advertisements Previous Page Next Page Unix systems have a very flexible and powerful logging system, which enables you to record almost anything you can imagine and then manipulate the logs to retrieve the information you require. Many versions of UNIX provide a general-purpose logging facility called syslog. Individual programs that need to have information logged send the information to syslog. Unix syslog is a host-configurable, uniform system logging facility. The system uses a centralized system logging process that runs the program /etc/syslogd or /etc/syslog. The operation of the system logger is quite straightforward. Programs send their log entries to syslogd, which consults the configuration file /etc/syslogd.conf or /etc/syslog and, when a match is found, writes the log message to the desired log file. There are four basic syslog terms that you should understand − Term Description Facility The identifier used to describe the application or process that submitted the log message. Examples are mail, kernel, and ftp. Priority An indicator of the importance of the message. Levels are defined within syslog as guidelines, from debugging information to critical events. Selector A combination of one or more facilitie
also installed with the sysman option. Refer to the Error Log Management chapter in PSSP: Administration Guide for an overview. Error logging is the writing of information to persistent storage to be used for debugging purposes. This type of logging is for subsystems that perform a service or function on behalf of an end user. The subsystem does not communicate directly with the end user and, therefore, needs to log events to some storage location. The events that are logged are primarily error events. Error logging for the SP uses Berkley Software Distribution (BSD) syslog and AIX Error Log facilities to report events on a per node basis. The intent is to have the AIX Error Log be the starting point for diagnosing system problems. The AIX Error Log is named /var/adm/ras/errlog. The BSD system log has a default name of /var/adm/SPlogs/SPdaemon.log. It is controlled by the syslogdd daemon. This log must be created by issuing the syslogd command. For instructions on using syslogd, refer to the manpage for the syslogd command, or AIX Version 4.3 Commands Reference. Error log entries include a "DETECTING MODULE" string that identifies the software component, module name, module level, and line of code or function that detected the event that was logged. The information is formatted depending on the logging facility the user is viewing. For example the AIX Error Log facility information appears: DETECTING MODULE LPP=LPP name Fn=file name SID_level_of_the_file L#=Line number The BSD syslog facility information appears: timestamp, hostname, ID, PID LPP=LPP name Fn=file name SID_level_of_the_file L#=Line number Classifying Error Log Events The following table displays the mapping of SP error log label suffixes to syslog priorities and AIX Error Log error types. Table 3. SP Error Log Label Suffixes Mapped to syslog Priorities and AIX Error Log Types Error Label Suffix syslog Priority Field syslog Description AIX Error Log Error Type AIX Error Log Description EM LOG_EMERG Emergency, system unstable PEND The loss of availability of a device is imminent. ER LOG_ERR Error condition PERM No recovery from this condition. A permanent error occurred. ST LOG_NOTICE Normal, but significant condition UNKN It is not possible to determine the severity of the error. TR LOG_INFO Inf