
These logs have their own category of logs and are seen as the heart of the logging operations for any system.

/var/log/httpd/: Apache access and error logs./var/log/auth.log: Auth logs (the authentication log stores all authentication logs, including successful and failed attempts)./var/log/boot.log: System Boot log (the boot log stores all information related to booting operations).On its own, it contains the most significant amount of information about system functionality. Systems log files are needed for Linux to work. Many of these logs can be located in the var/log subdirectory. Most directories can be grouped into one of four categories:
#VIEWING APPLICATION LOGS ON MAC SSH SERVER HOW TO#
A good understanding of each type of file will help how to distinguish the respective logs.


Logs can tell a lot about the operations of a system. Note: Check out our comprehensive guide on grep to learn how to use it with examples.
