Common log files on a Linux system
Most of the systems log files can be found in /var/log directory. You can list them with a simple command:ls -la /var/log
Some Linux log files:/var/log/secure contains user authentication records. /var/log/messages stores system messeges. /var/log/httpd directory contains all apache related logs. /var/log/boot.log file contains system boot logs. /var/log/maillog stores mail server logs. /var/log/mysqld.log contains MySQL server logs.
To view latest entries in log files use tail command.tail -f /var/log/secure