Chapter 14: Using journald
In this chapter, we will turn our attention to a new way of logging. Although the journald
logging system isn't part of systemd's init
system, it is part of the systemd
ecosystem. The journald
system has its advantages over the old rsyslog
system. However, there are also a couple of big reasons why we still haven't completed the transition to journald
. Still, journald
is an important tool that can help a busy Linux administrator easily see what's going on.
Specific topics in this chapter include:
- Understanding the pros and cons of
rsyslog
- Understanding the pros and cons of
journald
- Understanding
journald
on Ubuntu - Using
journalctl
- Sealing
journald
log files for security - Setting up remote logging with
journald