Logging API revamp

Andreas Ericsson ae at op5.se
Thu Oct 18 18:24:13 CEST 2007


Ethan Galstad wrote:
> Andreas Ericsson wrote:
>> So, I started looking into revamping the event queue logic, but ended up
>> with a migraine from the cumbersome way logging is done, so I decided to
>> try doing something about it, and the attached 3-patch series is the
>> result from it.
>>
>> It compiles alright, both for nagios and the cgi's. I haven't done much
>> in the way of checking past that though, so testing would be welcome.
>>
>> Given that the patches don't change much in the way of logic, they
>> shouldn't really affect anything in significant way.
>>
> 
> Patch has been applied with a fix in the logit function that cased a 
> segfault.

Ugh. That's what I get for eye-pasting code :-/

>  I'll be applying another patch shortly to rename the logit() 
> function to something closer to how the other funcs are named...
> 

I was nearly sure you would ;-)

-- 
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/




More information about the Developers mailing list