Discover how to view log files in linux, include the articles, news, trends, analysis and practical advice about how to view log files in linux on alibabacloud.com
1. Introduction to important log files in Linux/var/log/boot. log this file records the system events during the boot process, that is, the information displayed during the Linux system boot self-check process, as shown in 1:/var/log/boot. log
1. Introduction to important log files in Linux/Var/log/boot. log
This file records the system events during the boot process, that is, the information displayed during the Linux system boot self-check process, as shown in 1:
Figure 1/var/log/boot.
1)/var/log/secure: Record the log in system Access data file;
For example: Pop3,ssh,telnet,ftp and so on will be recorded here.
2)/ar/log/btmp: Record logged in this information record, has been encoded, so must be resolved by the last;
For
If you are willing to spend some time on the Linux environment, you should first know where the log files are located and what they contain. Learning about these different log files while your system is working properly can help you find and solve
Transferred from: http://blog.chinaunix.net/uid-24250828-id-3198922.html1)/var/log/secure: Record log in system to access data files;For example: POP3,SSH,TELNET,FTP, etc. will be recorded here.2)/ar/log/btmp: Record login This information record,
Log Files in centos7
Common Linux Log Files are described as follows:1./var/log/boot. log (self-check process)2./var/log/cron (actions of the child process derived from crontab daemon crond)3./var/log/maillog (activity of emails sent to or from the
The following is a description of the 20 log files that are located under the/var/log/directory. Some of these are only available in specific versions, such as Dpkg.log, which can only be seen in Debian-based systems.
/var/log/messages -Includes
Log files are helpful in diagnosing and resolving problems in the system, because programs that run on Linux systems often write system messages and error messages to the appropriate log files, so that the system can be "documented" once problems
One of the keys to the successful management of any system using common log files and commands in Linux is to know what is happening in the system. Exception logs are provided in Linux and the log details are configurable. Linux logs are stored in
If you are willing to spend some time on the Linux environment, you should first know where the log files are located and what they contain. Learning about these different log files while your system is working properly can help you find and solve
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.