when I am using this command to see the journal log size of CentOS 7:
journalctl --disk-usage
the output looks like this:
[root@k8smasterone log]# journalctl --disk-usage
Archived and active journals take up 48.0M on disk.
but the /var/log/messages file has a size of more than 4 GB, why does journalctl not show the same size of the log? The messages should be treated as journal log.
/var/log/journalexclusively. Other files and directories under/var/logaren't its concern.