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

How it works...

The daemon logging to text files is rsyslogd (on some older systems, it might be syslog-ng).

This reliable and extended syslogd program writes messages that it reads from one of two locations, imuxsock (old) and imjournal (new); this comes directly from the syslog(3) syscall man page:

syslog() and vsyslog()syslog() generates a log message, which will be distributed by syslogd(8).

Note that syslogd (referenced here) is an old program, superseded by rsyslogd.

If there's more than one entry of the same name, in the man pages, you can specify the section by using the number. In this case, it would be man 3 syslog on the command line.

rsyslogd configuration resides at /etc/rsyslog.conf and gives us the first bit of information ...

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