© Kenneth Hitchcock 2022
K. HitchcockLinux System Administration for the 2020shttps://doi.org/10.1007/978-1-4842-7984-7_8

8. Logging

Kenneth Hitchcock1  
(1)
Hampshire, UK
 

In this chapter, we focus on a topic where we spend most of our time troubleshooting as a Linux sysadmin: logs.

We will explore different logging systems that you can use, how to read logs, how to increase the information we get from logs, and how we look after our systems so logs do not cause us more issues. Finally, we will explore how logs should be offloaded to external logging systems in a neat and secure manner.

Linux Logging Systems

There are a few different options that can be used for system and application logs. By default, all Linux systems are installed with syslog to manage ...

Get Linux System Administration for the 2020s: The Modern Sysadmin Leaving Behind the Culture of Build and Maintain now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.