Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

Using journalctl on systemd systems

Modern Linux distributions don't just rely on syslog files; in fact, they don't need to rely on syslog at all. Debian, Ubuntu, and CentOS all have systemd as an init system, and bundled with systemd is a service called journald (systemd-journald.service).

This service acts as the journaling solution for your system, and utilizes binary logs instead of text-based logs.

While it's possible to ignore syslog entirely, and just use journald, a lot of systems now use both, to make the transition from one format to another easier. If you're using something like Arch or Gentoo, you may decide to dismiss syslog solutions entirely, in favour of journald alone.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content