December 2018
Beginner
320 pages
8h 57m
English
In CentOS 7, the systemd-journal is stored in the /run/log/journal/ directory, as shown in the following screenshot:

When we execute the journalctl command as root without any options, then it shows the full system journal, from the oldest log entry to the latest as shown in the following command line:
# journalctl
The journalctl command uses color coding to highlight the severity of messages, as shown in the following table:
|
Priority |
Description of text highlighting used in logs |
|
Error, crit, alert or emerg |
Text is red |
|
Notice or warning |
Text is bold |
|
Info or debug |
Regular text ... |
Read now
Unlock full access