Maintained by: NLnet Labs

[Unbound-users] configure log facility in unbound

James Cloos
Sat Sep 7 23:08:21 CEST 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