December 2018
Beginner
826 pages
22h 54m
English
On our CentOS system, the log file is transient, being lost upon reboot. While it's live, it exists in /run/log/journal/:
$ ls /run/log/journal/4eabd6271dbf4ed0bc608378f4311df8$ sudo ls -lh /run/log/journal/4eabd6271dbf4ed0bc608378f4311df8/total 4.0M-rwxr-x---+ 1 root systemd-journal 4.0M Oct 9 18:43 system.journal
You can also list the boots journalctl is aware of from the command line:
$ sudo journalctl --list-boots 0 b4c3669c7a9841ba841c330a75125e35 Tue 2018-10-09 18:43:07 UTC—Wed 2018-10-10 18:13:27 UTC