Re: rfc: snmptrapd logging fixup

This is a discussion on Re: rfc: snmptrapd logging fixup within the SNMP Coders forums, part of the Networking and Network Related category; On Tue, 22 Nov 2005 10:02:55 +0000 Dave wrote: DS> On Mon, 2005-11-21 at 13:...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-22-2005
Robert Story
 
Posts: n/a
Default Re: rfc: snmptrapd logging fixup

On Tue, 22 Nov 2005 10:02:55 +0000 Dave wrote:
DS> On Mon, 2005-11-21 at 13:57 -0500, Robert Story wrote:
DS> > However, there are some quirks to
DS> > snmptrapd's log handling. So I'm opening a dialog.
DS>
DS> Sounds good.
DS> Let's get the agreement out of the way first :-)

You meant argument, right? :-P

DS> > 1) it has distinct knowledge coded in for syslog logging and file/print
DS> > handling. Even to the point of logging differently formatted startup
DS> > messages!
DS> [...]
DS> A major-number release seems the obvious time to tidy this up.
DS> I'm not really bothered about the exact format of this startup message.

Ok, 1 for 1.

DS> > 3) Unfortunately, snmptrapd has no documented
DS> > behaviour for opening log files at startup.
DS> > Do we want to add an option to allow appending to log files?
DS>
DS> Yes. That's clearly a useful distinction to be able to make.

2 for 2.

DS> > 4) For future consideration, it would be nice to add some processing
DS> > to -L to allow per-log options to be set.
DS>
DS> Why not tie this into 3) ?
DS> If we're tackling half of the problem now anyway, why not tackle
DS> it in full?

/me falls of his chair.

You mean, add completely new functionality to a pre-release?

Quick, someone call the MI-5, aliens have taken over Dave! :-P


DS> I like the basic idea, though not the proposed syntax.
DS> It feels a little confusing.
DS>
DS> Alternative proposal:
DS>
DS> -Lf file.truncate
DS> -La file.append

Works for me.

3 for 3. Definitely aliens involved here somehow.

--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0