By default, all logs in Linux OS are located in the directory /var/log/. Some important log files are:
/var/log/messages
It stores logs from many OS Linux services, such as:
Kernel logger,
Network manager,
Logs differ between applications and services ….
/var/log/dmesg
It contains information about hardware found by the kernel drivers. It can help you troubleshoot hardware problems and missing drivers.
/bin/dmesg
It provides more detailed information in real time, while the log file keeps less information for historical purposes.
/var/log/audit/audit.log
It’s the file in which the Linux Auditing System (auditd) writes its logs, including all SELinux information.
If auditd is disabled, SELinux sends its logs to /var/log/messages.
You can check its status with the command sestatus.
+Red Hat +Gnu Linux Os Information
No comments:
Post a Comment