Maintained by: NLnet Labs

[Unbound-users] Log rotation for unbound

Andreas Schulze
Fri Apr 20 10:19:42 CEST 2012


Am 19.04.2012 15:47 schrieb Russell Sutherland:
> 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.
Without any testing I would expect that you have to
1. move the logfile away
2. call /usr/local/sbin/unbound-control  log_reopen
3. compress, print or delete the old logfile


-- 
Andreas Schulze
Internetdienste | P252

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Dipl.-Kfm. Dr. Robert Mayr
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen