nsca and nrpe2 syslog facility

Andreas Ericsson ae at op5.se
Wed Nov 21 00:06:42 CET 2007


Brian A. Seklecki wrote:
> On Tue, 2007-11-20 at 11:00 +0100, Andreas Ericsson wrote:
>> Brian A. Seklecki wrote:
>>> nsca.c @ line 134 of 1450
>>>
>>>   openlog("nsca",LOG_PID|LOG_NDELAY,LOG_DAEMON); 
>>>  
>>>   prototype: void openlog(const char *ident, int logopt, int facility);
>>>
>>> We should probably make that a config-file defined variable.  At the
>>> *very* least, a GNU autoconf compile-time configure option -> #DEFINE
>>>
>> Err... say what now?
> 
> The facility should be adjustable away from LOG_DAEMON
> 

Well, it's OSS. Make a nice and clean patch and it's likely to get accepted.
The kind of networks where you really, really need the very slight speedup
you're getting from a bitwise operation on a parsed string over a memcmp(3)
will have someone competent enough to make the necessary modifications.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list