Re: what do you use for logging?

2013-01-18 Thread Niall O'Reilly

On 17 Jan 2013, at 20:58, Mike Hoskins (michoski) wrote:

 Syslog as the default is perfectly fine with us.

Please keep that as the default, following the 
principle of least astonishment.

 I do also use the rotated file method a few places, so hoping that doesn't 
 disappear.

I would hope so too, not that we use it.

 Thanks for asking the list.

+1

/Niall

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: what do you use for logging?

2013-01-18 Thread Niall O'Reilly

On 18 Jan 2013, at 06:27, Jan-Piet Mens wrote:

 Could CLI utility be man(1) and info(1)?  :-)
 
 It could, yes, but `b10-msg NNN` isn't going to break BIND 10's
 development budget (I hope),

+1

 and I feel it to be more practical than
 scrolling through a man page with 900+ error-messages in it. ;)

I'm not sure I see the big practical advantage over
'C-S' in info or '/' in the pager invoked by man.

I would see the man page as indispensible, and a bespoke
utility as merely cool.

/N

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: what do you use for logging?

2013-01-18 Thread Niall O'Reilly

On 17 Jan 2013, at 18:33, Jeremy C. Reed wrote:

 BIND 9 by default has logging using syslog, using its daemon facility, 
 and logging of info or higher.
 
 Is using syslog a sane default for new installations or when using 
 official vendor packages with their startup scripts?

Definitely.

 Do any packagers provide a configuration with different-than-default 
 logging setup? (What and why?)

I'm sorry; I don't know.  Apart from one exceptional NetBSD
box, I always build from source and avoid whatever the
packager offers.

Best regards
Niall O'Reilly

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: what do you use for logging?

2013-01-18 Thread Shane Kerr
All,

On Friday, 2013-01-18 10:01:49 +, 
Niall O'Reilly niall.orei...@ucd.ie wrote:
 
 On 18 Jan 2013, at 06:27, Jan-Piet Mens wrote:
 
  Could CLI utility be man(1) and info(1)?  :-)
  
  It could, yes, but `b10-msg NNN` isn't going to break BIND 10's
  development budget (I hope),
 
   +1
 
  and I feel it to be more practical than
  scrolling through a man page with 900+ error-messages in it. ;)
 
   I'm not sure I see the big practical advantage over
   'C-S' in info or '/' in the pager invoked by man.
 
   I would see the man page as indispensible, and a bespoke
   utility as merely cool.

Okay, I think both of these suggestions are straightforward and make
sense. (Meaning a utility and a man page.) I've created tickets for
them so we can make these.

https://bind10.isc.org/ticket/2639
https://bind10.isc.org/ticket/2640

--
Shane
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: what do you use for logging?

2013-01-17 Thread Jan-Piet Mens
 Is using syslog a sane default for new installations or when using 
 official vendor packages with their startup scripts?

I for one would not want to miss BIND9's logging to auto-rotated files:

file /var/named/log/named.log versions 10 size 5m; 

Other than that, I'd say logging via syslog is a sane default, and it
allows people to easily forward syslog to log hosts (or Logstash, etc.).

 By the way, all of the BIND10 logging 
 messages are unique and we provide a paragraph or more documentation for 
 each of its 933 possible log identifiers!)

I haven't checked whether you have that, but that screams for a CLI
utility to show the paragraph without having to browse documentation. :)

-JP
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: what do you use for logging?

2013-01-17 Thread Mike Hoskins (michoski)
-Original Message-

From: Alan Batie a...@peak.org
Date: Thursday, January 17, 2013 1:52 PM
To: bind-users@lists.isc.org bind-users@lists.isc.org
Subject: Re: what do you use for logging?

On 1/17/13 10:48 AM, Jan-Piet Mens wrote:

 By the way, all of the BIND10 logging
 messages are unique and we provide a paragraph or more documentation
for 
 each of its 933 possible log identifiers!)
 
 I haven't checked whether you have that, but that screams for a CLI
 utility to show the paragraph without having to browse documentation. :)

Agreed!

We use rsyslog here...

Could CLI utility be man(1) and info(1)?  :-)

I agree, being able to access the full documentation from command line is
always useful...but probably doesn't require a new utility so much as an
investment in porting documentation to applicable formats.

FWIW, we package our own from source internally, and use
syslog-ng/rsyslog/logstash/elasticsearch.  Syslog as the default is
perfectly fine with us.  I do also use the rotated file method a few
places, so hoping that doesn't disappear.

Thanks for asking the list.

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users