Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On ubuntu this file exists: /var/log/syslog.

However the same file does not appear on CentOS Distributions. What is the equivalent file on CentOS?

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

Red Hat family distributions (including CentOS and Fedora) use /var/log/messages and /var/log/secure where Debian-family distributions use /var/log/syslog and /var/log/auth.log.

Note that in newer Fedora, you may have no traditional syslog daemon running. In that case, the same data can be shown with journalctl (which defaults to producing text output in the syslog format).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.