Skip to Content
CentOS 6 Linux Server Cookbook
book

CentOS 6 Linux Server Cookbook

by Jonathan Hobson
April 2013
Beginner
374 pages
8h 14m
English
Packt Publishing
Content preview from CentOS 6 Linux Server Cookbook

Extending log rotation by adding NTP to logrotate

In a previous recipe you were shown how to configure logrotate. Logrotate is typically associated with system logfiles, but given that we have already shown you how to create a custom logfile for NTP, it is the purpose of this recipe to build on that knowledge and to show you how you can use logrotate for any custom application.

Getting ready

To complete this recipe, you will require a minimal installation of the CentOS 6 operating system with root privileges and a console-based text editor of your choice. It is assumed that you have followed a previous recipe that detailed the necessary steps to configure customized NTP logging.

How to do it...

In this recipe you are required to log in as root and ...

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

CentOS 7 Linux Server Cookbook - Second Edition

CentOS 7 Linux Server Cookbook - Second Edition

Jonathan Hobson
Mastering CentOS 7 Linux Server

Mastering CentOS 7 Linux Server

Mohamed Alibi, BHASKARJYOTI ROY

Publisher Resources

ISBN: 9781849519021Other