Linux/var/log log File

Source: Internet
Author: User
Tags log log

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.