what is the CentOS equivalent of /var/log/syslog (on Ubuntu)?
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 (or RHEL/CentOS 7 if someone has gone out of their way to configure it this way), 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).