[Unbound-users] Log rotation for unbound

Russell Sutherland russell.sutherland at utoronto.ca
Thu Apr 19 19:47:36 UTC 2012


Is there a FAQ which indicates how one performs log rotation using unbound?

I am using version 1.4.16 under RHEL:

# /usr/local/sbin/unbound-control status
version: 1.4.16
verbosity: 3
threads: 1
modules: 2 [ validator iterator ]
uptime: 85731 seconds
unbound (pid 2463) is running...

At the present time I am logging directly to a file:

logfile: unbound.log

With syslog turned off:

use-syslog: no

I am not sure what effect the command:


/usr/local/sbin/unbound-control  log_reopen

 does.

I would like to run a cron job, perhaps once per hour to rotate logs, compress files etc.

Thanks in advance.

--
Russell Sutherand  I+TS
e: russell.sutherland at utoronto.ca
t: +1.416.978.0470
f: +1.416.978.6620
m: +1.416.803.0080
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20120419/3fca2cdf/attachment.htm>


More information about the Unbound-users mailing list