CertGrid CertGrid
Hands-on Lab·LPIC-1

Logging, priorities and rotation

Objective 108.2 covers system logging, and on a current machine that means two systems running side by side - the journal and rsyslog. This guide shows how to narrow the journal to something readable, explains the eight syslog priorities every logging question depends on, and runs logrotate in dry-run mode so you can see its decisions without making any.

102: Essential System Services Guide 19 of 33 Beginner

One Debian-family host. Every command reads; the logrotate step is an explicit dry run.
Server NameIP AddressOSRolesCPURAMHDD
LPIC1-A01192.168.0.76Ubuntu 26.04 LTSDebian-family host - dpkg and apt, which objective 102.4 names2 Core4 GB50 GB

This guide includes

Use this because a current machine runs two logging systems at once. This matters because the eight priorities are numbered 0 to 7, and those numbers are what the questions use.

Before you start

  1. Two logging systems, both running

  2. Narrowing it to something you can read

  3. The eight priorities every logging question uses

  4. Rotation, without rotating anything

  5. The mail transfer agent that is not there

Official sources