Linux system service 1 ---- rSyslog Log Service 1 log 1 log is a plain text file used by the system to record some information related to the system runtime. 2 logs are used to save the running status of related programs, error information. To analyze the system, save historical records Linux system service 1 ---- rSyslog Log Service 1 log 1 is a plain text file used by the system to record some information related to system running 2 logs are used to save related programs running status, error information. To analyze the system, save historical records and identify analysis errors when an error occurs. 3 Linux generally saves the following types of log kernel information service information application information. 2 rsyslog 1 used in LInux to implement the log function. the service is called rsyslog, sysLog used in earlier Linux releases. rsyslog is the enhanced version of syslog. 2 rsyslog is generally installed by default and set to automatic start, you can use the following command to control the rsyslog service rsyslog start | stop restart 3 rsyslog configuration file:/etc/rsyslog. conf 4 log messages are generally stored in/var/log 5. we generally use the tail-g logfile method to monitor log files in real time. 3 Facility 1 rsyslog defines the sources of log messages through the Facility concept, to facilitate log Classification 2 Facility there are several kern kernel messages: user-level message mail system message datemon system service message auth authentication system message syslog log system itself message lpr print system message authpriv permission system message corn scheduled task message news system message uucp system message ftp system message 4 Priority/Serverity Level 1 apart from log source, log messages generated from the same source are also prioritized, priority is divided into the following two priority levels: Emergency systems can no longer use Alert must immediately handle Critical serious Error Warning Notice normal information, but more important Informational normal information Debug debug Debug information
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.