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

Answers were Sorted based on User's Feedback



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

Answer / sudeep

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

Is This Answer Correct ?    19 Yes 0 No

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

Answer / krishna prasad m

/var/log/messages system log messages can be seen here
/var/log/dmesg Kernel boot log messages can view

Is This Answer Correct ?    8 Yes 1 No

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

Answer / amit kumar ghosh

There are Three centralized loggin demons
1)syslogd
2)klogd
3)auditd

klogd:- collect log file created by the Kernel
syslogd:- Collect log file created by the system
auditd:- Collect log file created by the SELinux

After collecting the log system store logs on different location
/var/log/dmesg:- Created at boot time, by kernel
/var/log/messages:- standard system error message,
/var/log/secure:- authentication related log
/var/log/maillog:- Mial related log
/var/log/audit/audit.log:-Selinux related log

We can redirect the log by configuring
/etc/sysconfig/syslog
/etc/syslog.conf

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Linux AllOther Interview Questions

How to check all open ports on linux machine and block unsed ports????????

7 Answers   Tech Mahindra,


what is the difference between fork and thread ? and parent and child process in fork system call?

3 Answers   Satyam,


How To Hide the FTP Version?

3 Answers   Wipro,


What is the difference between ext3 and ext4?

0 Answers   IBM,


How to Create NIS Server And NIS Client? Explain With Example?

1 Answers   Cisco,






What is the minimum number of partitions you need to install Linux?

30 Answers  


How can you see all mounted drives?

10 Answers  


How to Trouble shoot performance issue in RHEL administration ? please give to one example

0 Answers  


How to apply patch for multiple servers .

1 Answers   IBM,


what is the difference betweenh the NFS and FTP?

4 Answers   IBM,


what are acl permissions..? what is automation of jobs..?

5 Answers   IBM, TCS,


what are the default permissions for files and folders..?

8 Answers   IBM,


Categories