This article briefly introduces the log files under the ubuntu/var/log/, which makes it easy to query the corresponding log when errors occur.
/var/log/alternatives.log- Update replacement information is recorded in this file
/var/log/apport.log- Application crash Logging
/var/log/apt/- information on loading and unloading software with Apt-get
/var/log/auth.log- Login Authentication log
/var/log/boot.log- contains the logs at system startup.
/var/log/btmp-Log all failed boot messages
/var/log/consolekit- Logging console information
/var/log/cpus- logs that involve all printing information
/var/log/dist-upgrade-dist-upgrade information about how this is updated
/VAR/LOG/DMESG- contains kernel buffering information (kernel ring buffer). Display hardware-related information on the screen when the system starts
/var/log/dpkg.log- includes the installation or dpkg command to clear the log of the package.
/var/log/faillog- contains user logon failure information. In addition, the error login command is also recorded in this file.
/var/log/fontconfig.log- log associated with the font configuration .
/var/log/fsck- File System log
/var/log/faillog- contains user logon failure information. In addition, the error login command is also recorded in this file.
/var/log/hp/
/var/log/install/
/var/log/jokey.log
/var/log/kern.log – Contains logs generated by the kernel to help resolve issues when customizing the kernel.
/var/log/lastlog- records the most recent information for all users. This is not an ASCII file, so you need to use the lastlog command to view the content.
/var/log/faillog– contains user logon failure information. In addition, the error login command is also recorded in this file.
/var/log/lightdm/
/var/log/mail/– This subdirectory contains additional logs for the mail server.
/var/log/mail.err- similar to the above
/var/log/news/
/var/log/pm-powersave.log
/var/log/samba/– contains information that is stored by samba.
/var/log/syss.log
/var/log/speech-dispacher/
/var/log/udev
/var/log/ufw.log
/var/log/upstart/
/var/log/uattended-upgrades/
/var/log/wtmp -Contains login information. Use wtmp to find out who is logging into the system, who uses the command to display this file or information, and so on.
/var/log/xorg.*.log- The log information from X.
ubuntu/var/log/File Description