[Unbound-users] configure log facility in unbound

James Cloos cloos at jhcloos.com
Sat Sep 7 21:08:21 UTC 2013


>>>>> "M" == Mike  <the.lists at mgm51.com> writes:

M> I've become tired of unbound flooding my messages.log with 40,000 to
M> 50,000 log records every time I start the system, effectively DOs'ing
M> my logs.....

Some syslog daemons can filter to different files based on the ident,
not just on the facility and priority.

As an example, I use this with metalog:

  Unbound :
    program_regex = "^unbound"
    logdir        = "/var/log/unbound"
    break         = 1

rsyslog.conf(5) describes a similar concept under Property-Based Filters.

I'm sure syslog-ng also has such a concept.

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



More information about the Unbound-users mailing list