logging help

Kevin Darcy kcd at daimlerchrysler.com
Thu Dec 5 23:57:29 UTC 2002


John wrote:

> Hi,
>
> I know under option "logging", you can log the different things using
> several channels.
> Normally syslog.log log almost everything, but I want to generate a
> several log files
> e.g.
> One only with named daemon start and stop messages.
> One only zonetransfer, update messages.
> One only error, invalid and fail
>
> How to do that??
>
> Look like so, but I don't know the content...:-(
>
> logging {
>
>  channel named_daemon {
>  file "/var/log/named_daemon.log";
>  };
>
>  channel named_update {
>  file "/var/log/named_update.log";
>  };
>
>  channel named_error {
>  file "/var/log/named_error.log";
>  };
>
> };
>
> I hope somebody can tell me how to proceed that.

Did you look at the documentation? In addition to defining channels, you
also need to associate those channels with different "category"s of
error messages.


- Kevin




More information about the bind-users mailing list