[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-users
Subject:    Re: named.conf - logfile question
From:       herbert langhans <herbert.raimund () langhans ! com ! pl>
Date:       2011-12-09 19:12:04
Message-ID: 20111209191204.GA25958 () manul ! langhans ! com ! pl
[Download RAW message or body]

On Fri, Dec 09, 2011 at 12:54:03PM +0100, Niels Dettenbach wrote:
> I.e. use just a small logging configuration like:
> 
> logging {
>         channel default_log {    
>                 file "/var/log/named/named.log" versions 5 size 50M;
>                 print-time yes;  
>                 print-severity yes;
>                 print-category yes;
>         };
> 
>         category default { default_log; };
>         category general { default_log; };
>         category lame-servers   { null; };
>         category edns-disabled  { null; };
>         // category security { null; };
> };
>
> Niels Dettenbach

Niels,
thats great - its the premium solution what I thought about! And it
worked straight away. Just had to define a logfile-turnover in
/etc/newsyslog.conf and I have all in perfect order.

Hochachtungsvoll,
herb langhans

-- 
sprachtraining langhans
herbert langhans, warschau
herbert.raimund[at]gmx.net
herbert[at]langhans.com.pl
http://www.langhans.com.pl
+0048 603 341 441

| jabber:herbs
| icq:414500866
| yahoo_im:herbert.raimund
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic