NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: named.conf - logfile question



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


Home | Main Index | Thread Index | Old Index