Home>Article>Operation and Maintenance> 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!