Home  >  Article  >  Operation and Maintenance  >  where are linux logs

where are linux logs

王林
王林Original
2020-03-11 16:20:566061browse

where are linux logs

Log files in Linux systems are usually saved in the /var/log directory.

The following are several important log files:

Recommended tutorial: linux tutorial

/var/log/messages: including overall system information, It also contains logs during system startup.

/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/user.log: Log that records user information of all levels. /var/log/auth.log: Contains system authorization information, including user login and permission mechanisms used, etc.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of where are linux 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