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!