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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders