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.