BIND 8.1.2 Release Notes
New and Changed Features
New Features
Chapter 114
Specifying the Number of Log File Backups
You can specify the number of backup version of a log file using the
version (number | unlimited) option in the logging statement. If
you specify version 4, named retains 4 backup versions of the log file.
When you open a file, the backup versions are retained by renaming the
original file to a backup file, the backup file to the previous backedup file
and so on.
For example, if you choose to retain 3 old versions of the file lame.log,
then before it is opened, lame.log.1 is renamed to lames.log.2,
lame.log.0 is renamed to lame.log.1, and lame.log is renamed to
lame.log.0.
By default, rolled versions are not retained. The logging statement is of
the following format:
logging {
[ channel channel_name {
( file path_name
packet Dumps of packets received and sent
notify The NOTIFY protocol
security Approved/unapproved requests
insist Internal consistency check failures
db Database operations
os Operating system problems
maintenance Periodic maintenance events
load Zone loading messages
response-checks Messages arising from response checking
default Unclassified messages and categories that do
not have a channel list explicitly defined.
Table 1-1 Message Categories (Continued)
Message
Category
Description