Home  >  Article  >  Operation and Maintenance  >  Where are the linux system logs?

Where are the linux system logs?

藏色散人
藏色散人Original
2019-11-18 09:12:137313browse

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!

Statement:
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
Previous article:where are linux filesNext article:where are linux files