Where are the linux system logs?

藏色散人
Release: 2019-11-18 09:12:13
Original
7401 people have browsed it

Where are the linux system logs?

Where are the linux system logs?

The default path of the log file is:/var/log

The following are the paths of several important log files and the information they contain

/var/ log/syslog: It is different from the /etc/log/messages log file. It only records warning information, which is often information about system problems.

/var/log/messages: Includes overall system information, including logs during system startup. In addition, it also includes mail, cron, daemon, kern, auth, etc.

/var/log/user.log: A log that records user information at all levels.

/var/log/auth.log: Contains system authorization information, including user login and permission mechanism used, etc.

/var/log/daemon.log: Contains log information of various system background daemon processes.

/var/log/kern.log: Contains logs generated by the kernel, which can help solve problems when customizing the kernel.

Recommended tutorial:linux tutorial

The above is the detailed content of Where are the linux system logs?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!