Types of log files available in Linux:

 Syslog Introduction:To Learn about Linux Syslogs


Types of Syslog files in linux. 

/var/log/messages - Contains global system messages, including the messages that are logged during system startup. There are several things that are logged in /var/log/messages including mail, cron, daemon, kern, auth, etc.

/var/log/secure – It contain log about security and authentication related messages and errors.


/var/log/maillog – It contain log about mail server related messages.


/var/log/boot.log – It contain messages related to system startup logs.


/var/log/cron - It about periodically executed tasks.


/var/log/daemon.log – Contains information logged by the various background daemons that runs on the system.


/var/log/kern.log – Contains information logged by the kernel. Helpful for you to troubleshoot a custom-built kernel.


/var/log/user.log – Contains information about all user level logs.


var/log/anaconda.log – When you install Linux, all installation related messages are stored in this log file.


/var/log/yum.log – Contains information that are logged when a package is installed using yum.


/var/log/httpd/ (or) /var/log/apache2 – Contains the apache web server access_log and error_log.


/var/log/daemon.log – Contains information logged by the various background daemons that runs on the system.


/var/log/dpkg.log – Contains information that are logged when a package is installed or removed using dpkg command..


/var/log/samba/ – Contains log information stored by samba, which is used to connect Windows to Linux.
Previous
Next Post »