1. Log related services In Log information is transmitted based on the TCP network protocol. A more secure network transmission method. There is a real-time analysis framework for log messages. Backend database. Simple logical judgments can be written in the configuration file. Compatible with 2. Common log files in the system In Linux systems, system logs are generally saved in the As shown below: [root@localhost ~]# ls /var/log/ anaconda.ifcfg.log btmp maillog secure anaconda.log ConsoleKit maillog-20200705 secure-20200705 anaconda.program.log cron mcelog spooler anaconda.storage.log cron-20200705 messages spooler-20200705 anaconda.syslog cups messages-20200705 sssd anaconda.xlog dmesg ntpstats tallylog anaconda.yum.log dmesg.old prelink wtmp audit dracut.log sa yum.log boot.log lastlog samba Let's take a closer look at the main log files above:
Note: Examples of log files that cannot be viewed with the # Someone used the root user to log in to local terminal 1 at 22:38 on June 4th. [root@localhost log]# lastb root tty1 Tue Jun 4 22:38 - 22:38 (00:00) Why can't some log files be viewed using the This is because the contents of these log files record the logs of important system resources and are related to system security. You cannot modify them. To ensure the accuracy of the data, you can only view them through relevant commands. In addition to the system default logs, system services installed using RPM will also record logs in the For example:
The service logs installed with the source package are in the directory specified by the source package. However, these logs are not recorded and managed by the This is the end of this article about the detailed introduction of logs in Linux system. For more relevant Linux log content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Exploring the practical value of the CSS property *-gradient
>>: How to implement paging query in MySQL
I believe everyone knows HTML and CSS, knows the ...
Table of contents UNION Table initialization Exec...
1. After entering the container cat /etc/hosts It...
The world-famous virtual machine software VMware-...
<br />This is not only an era of information...
The table structure is as follows: id varchar(32)...
CSS controls the printing style of web pages : Use...
Check the transaction isolation level In MySQL, y...
Table of contents Compare the empty string '&...
mysql-5.7.19-winx64 installation-free version con...
1: Tag selector The tag selector is used for all ...
1: Installation command pip install docker-compos...
Table of contents Method 1: The simplest way to s...
Turn off ping scanning, although it doesn't h...
1. Filter Example: <!DOCTYPE html> <html...