Linux system logs are generally placed in the/var/log directory, for the understanding of this directory of the role of the document is very important, I would like to list some of the work commonly used in the log document, and the role of the file, I hope to help you, record down to oneself also convenient:/var/log: Common directory, The directory dedicated to storing all log files, which contains a lot of system, software, users and other related log information; there are some files that are more commonly used; Lastlog: Records the user's last logon information, reads with the Lastlog command; message: Records almost all information about the system, Mainly includes starting information, SYSLOGD service record information and so on; wtmp: Log all user login and logout information, use last command to read; secure: Records files that log on to the system to access data, such as Sshpop3telnetftp, are recorded in this file/var/ LOG/HTTPD/ACCESS_LOG:HTTPD Access Log/var/log/httpd/error_ LOG:HTTPD error log btmp: Log failed user logon utmp: Log the current logged on per user xferlog:ftp session logs Boot.log: Log on or boot and shutdown information displayed when some services are started/var/log/maillog or/ var/log/mail/*: Logging user information for mail access or intercourse cron: recording the contents of a crontab routine service DMESG: Boot log information sudolog: Record commands issued with sudo sulog: Record use of the SU command
May have an unknown record, I hope you give the designation, thank you.
This article is from the "Useful Notes" blog, so be sure to keep this source http://qiuyt.blog.51cto.com/1229789/1440978
Linux/var/log log File