What is the name and path of the main system log?

What is the name and path of the main system log?


6 Answers
1-6 of  6
6 Answers
  • Name of the main system log is "messages" and path is /var/log/messages . System log in which server/OS .. If it is ubuntu, you need to check in /var/log/syslog.. If it is redhat/Centos you need to check in /var/log/messages.

  • There are Three incorporated loggin evil spirits 

    1)syslogd 

    2)klogd 

    3)auditd 

    klogd:- gather log record made by the Kernel 

    syslogd:- Collect log record made by the framework 

    auditd:- Collect log record made by the SELinux 

    Subsequent to gathering the log framework store sign on various area 

    /var/log/dmesg:- Created at boot time, by piece 

    /var/log/messages:- standard framework blunder message, 

    /var/log/secure:- verification related log 

    /var/log/maillog:- Mial related log 

    /var/log/review/audit.log:- Selinux related log 

    We can divert the log by arranging 

    /and so forth/sysconfig/syslog 

    /and so forth/syslog.conf

  • Name of the main system log is "messages" and path is /var/log/messages .

  • System log in which server/OS .. If it is ubuntu, you need to check in /var/log/syslog.. If it is redhat/Centos you need to check in /var/log/messages. 

  • /var/log/messgaes 
    by default this is the path for system logs 

    /var/log/secure 
    by default this is stores secure logs; like if any one try to to login our linux server we can find which ip is trying to access our linux server .

  • /var/log/messages
    by default main system log file is /var/log/messages.

Red Hat Linux

Didn't get the answer.
Contact people of Talent-Red Hat Linux directly by clicking here