For this tutorial, I will be using 'Ubuntu 22.10'. In the above screenshot, we can see the log files present in the system. Navigate to the directory and list the files.Īlternatives.log btmp dmesg.1.gz gdm3 kern.log speech-dispatcher vmware-network.1.log vmware-vmsvc-root.1.log wtmpĪpt cups dmesg.2.gz gpu-manager.log lastlog syslog vmware-network.2.log vmware-vmsvc-root.2.logĪuth.log dist-upgrade dpkg.log hp openvpn ubuntu-advantage.log vmware-network.3.log vmware-vmsvc-root.3.logīoot.log dmesg faillog installer private ubuntu-advantage-timer.log vmware-network.4.log vmware-vmsvc-root.logīootstrap.log dmesg.0 fontconfig.log journal README unattended-upgrades vmware-network.log vmware-vmtoolsd-root.log Logs like syslog, kern.log and auth.log are found on almost all linux distros.īefore looking at the types of log files, let's see the location of Linux logs under "/var/log". On linux there are lots of log files and some common ones include: They would be present on both server and desktop linux installations. In this article we take a quick look at some of the common log files found on linux systems. The log files will most of the time contain accurate information about the cause of the error which will help in fixing the problem. The log files also provide important diagnostic information in the even of some kind of failure, so that system administrators and gather information and fix the system.įor example a server application like apache or nginx or postfix failed to start or suddenly stopped working, then it is always best to first check the log files to see what went wrong. They are essential for debugging running applications, tracking security events, such as a brute force attack etc.
0 Comments
Leave a Reply. |