Why I can't find the system logs?

[root@rl8-ops01 ~ 15:35:23]# cat /etc/os-release 
NAME="Rocky Linux"
VERSION="8.3"
ID="rocky"
ID_LIKE="rhel fedora"
VERSION_ID="8.3"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.3"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:rocky:rocky:8"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
[root@rl8-ops01 ~ 15:35:29]# cat /etc/rocky-release
Rocky Linux release 8.3
[root@rl8-ops01 ~ 15:35:35]# find / -type f -name "messages"
[root@rl8-ops01 ~ 15:35:56]# find / -name "messages"

Where is my system logs?

[root@rl8-ops01 ~ 15:36:04]# ls /etc/logrotate.d/
btmp  chrony  dnf  firewalld  inotify  psacct  samba  sssd  wtmp

Have you installed rsyslog?

:grinning_face_with_smiling_eyes: I thought this package should be included in the system

Why isn’t this included in the initial installation?

IIRC, it was not there initially. There is systemd’s journal.

However, now:

$ sudo dnf -q rq --groupmember rsyslog
rsyslog-8.2102.0-5.el8.x86_64
  @core

The rsyslog is now mandatory for group Core; always installed. That is an issue with many old threads; they do not apply today.

1 Like