1 00:00:06,690 --> 00:00:07,523 - In this video, 2 00:00:07,523 --> 00:00:10,920 I'd like to give you an overview of Linux logging. 3 00:00:10,920 --> 00:00:12,390 So, there is syslog. 4 00:00:12,390 --> 00:00:14,100 Syslog is where it all started. 5 00:00:14,100 --> 00:00:16,950 It's the legacy service that takes care of logging. 6 00:00:16,950 --> 00:00:18,756 It has been around forever. 7 00:00:18,756 --> 00:00:23,460 Syslog on modern Linux is implemented through rsyslogd, 8 00:00:23,460 --> 00:00:28,170 and rsyslogd still exists on most distributions. 9 00:00:28,170 --> 00:00:30,461 There's also systemd-journald, 10 00:00:30,461 --> 00:00:34,203 and systemd-journald is the system-integrated log service. 11 00:00:35,747 --> 00:00:39,180 The thing is that systemd is taken care of everything. 12 00:00:39,180 --> 00:00:40,980 And as it is taken care of everything, 13 00:00:40,980 --> 00:00:42,840 it's very easy for systemd 14 00:00:42,840 --> 00:00:45,210 to catch messages that are generated 15 00:00:45,210 --> 00:00:47,201 by the different components as well. 16 00:00:47,201 --> 00:00:51,720 And these messages are forwarded to systemd-journald. 17 00:00:51,720 --> 00:00:53,610 So systemd-journald has become 18 00:00:53,610 --> 00:00:55,133 the default logging solution. 19 00:00:55,133 --> 00:00:58,830 On some distributions, systemd-journald 20 00:00:58,830 --> 00:01:01,560 is the only logging service that is still offered, 21 00:01:01,560 --> 00:01:04,920 and some distributions are using rsyslogd 22 00:01:04,920 --> 00:01:06,570 for its advanced features 23 00:01:06,570 --> 00:01:09,243 and systemd-journald side-by-side.