log location ubunt

How To Check Linux Logs And Where They Exists  

Linux Log helps you to find out the problems in your machine. Linux keeps all the logs related to application, systems, event and service logs. let’s see, how to check Linux logs.

Here, i will show you all the logs files and their location. So let’s start it.

Check Out : Error SOSREPORT Command Not Found

System Logs : you can find system related log file here at the location /var/log/messages or /var/log/syslog

/var/log/secure or /var/log/auth.log : you can find here logs related to authentication and ssh logs would also be stored.

/var/log/boot.log : you can find boot logs in this file.

/var/log/dmesg : the kernel related logs would be stored in this file.

/var/log/cron : this stores the crontab related logs.

/var/log/yum.log : yum related logs are stored in this file.

Check Out : How To Check Currently Logged-In User In Linux System

/var/log/maillog : this stores the log related to mail which you have sent using postfix, smtp or any email related services are running on the server.

/var/log/failog : stores all the failed logins.

/var/log/wtmp : stores login/logout history

/var/log/utmp : current login user state

/var/log/btmp : stores all failed login attempts.

/var/log/daemon.log : it tracks services running in the background that performance some task but has no graphical output.

That’s it

Leave a Reply

avatar
  Subscribe  
Notify of