Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

10. Managing the Audit Trails > logfile Management

logfile Management

logfiles tend to grow quickly, accumulate steadily, and eventually become full of less immediately useful information. Log management practices need to come into play. Fortunately, FreeBSD and OpenBSD provide a tool to help manage logfiles: newsyslog(8). The newsyslog utility provides periodic, automated, logfile rotation and compression.

newsyslog Overview

In a nutshell, newsyslog provides the capability to take existing logfiles, rename and compress them, and create a new file to which syslogd can now write. This logfile rotation can happen based on the passage of time, or the size of the file in question. The behavior of newsyslog is controlled by its configuration file


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial